-
Notifications
You must be signed in to change notification settings - Fork 70
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
Clean up runtime code for simulation preprogram autodiscovery string load #308
Conversation
f7af8f9
to
b1bb911
Compare
b1bb911
to
88d2dc8
Compare
88d2dc8
to
fb094d5
Compare
Hi Sophie, Thanks for the change. It looks good to me! I think you only ran SYCL tests for the change. Do you mind running a few opencl simulation tests to make sure your change doesn't break OpenCL flow? |
e7c9a66
to
2c974e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Sophie. Looks good to me!
…load Newest simulation runtime allows the autodiscovery string to be read from the same address as in hardware, therefore, this change removes special handling for the simulation flow in the kernel interface initialization.
5a006c1
to
790527a
Compare
Resolved review comment and squashed commits, @zibaiwan would you mind reviewing again? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Sophie! Looks good to me !
Unlike in hardware, in simulation the runtime is not able to obtain autodiscovery string
from the device ROM memory before reprogramming, therefore, global memory
configuration information is only available after device reprogram, during which the
autodiscovery string stored in the binary will be extracted. Currently the runtime does
some special handling for the simulation flow to amend for this behavioural difference.
With the newest change to our simulator, the autodiscovery string will be available for read
preprogram and the runtime can now obtain this information just as in the hardware flow
(except for some minor difference). Therefore, this change cleans up the runtime by removing
code for special handling of the simulation flow.