Skip to content

[UR][L0] Correctly wait on barrier on urEnqueueEventsWaitWithBarrier #11541

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

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

jandres742
Copy link
Contributor

When event list is null, a barrier is still needed for all previous commands, so fix it.

@againull
Copy link
Contributor

@jandres742 Testing is failing because 780c96ea22d8d22e8749be3741bd4eeff5c5cc8a commit is in your fork and not in the original repo: https://github.com/oneapi-src/unified-runtime.git

@jandres742 jandres742 force-pushed the fixwaitbarrierwithevent branch from 3574762 to e82c572 Compare October 13, 2023 20:31
@jandres742 jandres742 temporarily deployed to WindowsCILock October 13, 2023 20:32 — with GitHub Actions Inactive
@jandres742 jandres742 force-pushed the fixwaitbarrierwithevent branch from e82c572 to 5adffe3 Compare November 1, 2023 22:01
@jandres742 jandres742 temporarily deployed to WindowsCILock November 1, 2023 22:09 — with GitHub Actions Inactive
@jandres742 jandres742 force-pushed the fixwaitbarrierwithevent branch from 5adffe3 to 2eb36a7 Compare November 1, 2023 23:36
@jandres742 jandres742 temporarily deployed to WindowsCILock November 1, 2023 23:39 — with GitHub Actions Inactive
@jandres742 jandres742 force-pushed the fixwaitbarrierwithevent branch from 2eb36a7 to aeb6c15 Compare November 2, 2023 04:48
@jandres742 jandres742 temporarily deployed to WindowsCILock November 2, 2023 04:49 — with GitHub Actions Inactive
@jandres742 jandres742 temporarily deployed to WindowsCILock November 2, 2023 05:12 — with GitHub Actions Inactive
@jandres742 jandres742 force-pushed the fixwaitbarrierwithevent branch 2 times, most recently from 00f0551 to 1dc159d Compare November 2, 2023 16:00
@jandres742 jandres742 temporarily deployed to WindowsCILock November 2, 2023 17:25 — with GitHub Actions Inactive
@jandres742 jandres742 force-pushed the fixwaitbarrierwithevent branch from 1dc159d to a6b80bd Compare November 2, 2023 23:33
@jandres742 jandres742 temporarily deployed to WindowsCILock November 2, 2023 23:34 — with GitHub Actions Inactive
@jandres742 jandres742 temporarily deployed to WindowsCILock November 2, 2023 23:55 — with GitHub Actions Inactive
@jandres742
Copy link
Contributor Author

@smaslov-intel : please take a look at the changes in the test. Related UR PR: github.com/oneapi-src/unified-runtime/pull/962

When event list is null, a barrier is still needed for all
previous commands if profiling is enabled, so fix it.

Signed-off-by: Jaime Arteaga <[email protected]>
@kbenzie kbenzie marked this pull request as ready for review December 8, 2023 17:33
@kbenzie kbenzie requested a review from a team as a code owner December 8, 2023 17:33
@kbenzie
Copy link
Contributor

kbenzie commented Dec 8, 2023

@intel/llvm-gatekeepers please merge.

@againull againull merged commit bbf4d5d into intel:sycl Dec 8, 2023
callumfare pushed a commit to kbenzie/intel-llvm that referenced this pull request Dec 18, 2023
…ntel#11541)

When event list is null, a barrier is still needed for all previous
commands, so fix it.

---------

Signed-off-by: Jaime Arteaga <[email protected]>
Co-authored-by: Kenneth Benzie (Benie) <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants