Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execution-driven? #48

Open
cnjsdfcy opened this issue Sep 29, 2020 · 4 comments
Open

execution-driven? #48

cnjsdfcy opened this issue Sep 29, 2020 · 4 comments

Comments

@cnjsdfcy
Copy link

Hi,

As said in README.md, macsim can be either trace driven or execution-driven, but I didn't find any execution-driven example.

@cnjsdfcy cnjsdfcy changed the title execution-drive? execution-driven? Sep 29, 2020
@hyesoon
Copy link
Member

hyesoon commented Sep 29, 2020

The execution driven is done QEMU (QEMU is executed and feed the instructions into macsim). It was tested with an old version of QEMU and the instruction need to be updated to include the instruction. If there is a user who wants to use that feature, we will put the writing instruction in a higher priority.

@cnjsdfcy
Copy link
Author

If execution-driven is done by QEMU, can I assume that macsim is instantiated as an PCI-E device in QEMU? And we can boot up linux in QEMU and run real OpenCL workload in it to interact with macsim divice?

@hyesoon
Copy link
Member

hyesoon commented Oct 10, 2020

The instructions that are executed in QEMU is piped into macsim, so only the instruction streams are passed to QEMU. macsim is not connected with QEMU. In earlier versions, macsim can control the progress of instructions in QEMU but I don't think that feature is currently available (at least we haven't tested it for a while). OpenCL can run on Pin so you can generate instruction streams using Pin.

@cnjsdfcy
Copy link
Author

Thanks. Could you please point me any examples that how can I generate instruction streams (trace) for Intel GEN GPU?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants