-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL][UR][L0] Add support for zeCommandListHostSynchronize #10003
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
Conversation
@bader : seeing this error, is it infra related or my patch?
|
@jandres742, I'm not sure what your patch is doing, but |
@bader - I logged into that Win machine and the GPU drivers are set up correctly.
I was not using the branch from this PR, just the latest head on the SYCL branch. Note that in the output of the test run, sycl-ls is complaining that |
@@ -1358,6 +1358,10 @@ ur_result_t ur_queue_handle_t_::synchronize() { | |||
if (ImmCmdList == Queue->CommandListMap.end()) | |||
return UR_RESULT_SUCCESS; | |||
|
|||
#if (L0_USE_ZECOMMANDLISTHOSTSYNCHRONIZE == 1) |
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.
Why would this be a build-time decision not run-time? Can\t we check the version of the loaded L0 and run one code or another?
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.
this was to bypass while we upgrade the GPU driver, but I see now there's a way to do that. We need
ci-neo-master-026152: Update to L0 Loader v1.10.0 or higher.
Current PR for uplift in #10087
345ab95
to
bcf389b
Compare
bcf389b
to
9ae5b85
Compare
Instead of creating an event, appending, and synchronizing it on it to wait for all commands in an immediate command list, emit a zeCommandListHostSynchronize instead. Signed-off-by: Jaime Arteaga <[email protected]>
Failures on "SYCL E2E AWS CUDA" are unrelated, as changes are specific to L0. Those errors seem related to infra. |
Superceed by #11811 |
Instead of creating an event, appending, and synchronizing it on it to wait for all commands in an immediate command list, emit a zeCommandListHostSynchronize instead.