Skip to content

Conversation

@againull
Copy link
Contributor

@againull againull commented Sep 3, 2025

Currently for the pattern like this:

sycl::event eb1 = q1.ext_oneapi_submit_barrier();
q2.ext_oneapi_submit_barrier({ eb1 });

the second barrier ignores eb1 in the waitlist because it is not marked as enqueued even though it is supposed to. This PR fixes that.

Fixes #19777

@againull againull requested a review from a team as a code owner September 3, 2025 21:38
Currently for the pattern like this:
sycl::event eb1 = q1.ext_oneapi_submit_barrier();
q2.ext_oneapi_submit_barrier({ eb1 });

the second barrier ignores eb1 in the waitlist because it is not marked
as enqueued even though it is supposed to. This PR fixes that.

Fixes intel#19777
@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2025

@intel/llvm-gatekeepers please consider merging

@againull againull merged commit 045bb04 into intel:sycl Sep 4, 2025
27 checks passed
AlexeySachkov pushed a commit to AlexeySachkov/llvm that referenced this pull request Sep 18, 2025
Currently for the pattern like this:
```
sycl::event eb1 = q1.ext_oneapi_submit_barrier();
q2.ext_oneapi_submit_barrier({ eb1 });

```
the second barrier ignores `eb1` in the waitlist because it is not
marked as enqueued even though it is supposed to. This PR fixes that.

Fixes intel#19777
AlexeySachkov added a commit that referenced this pull request Sep 18, 2025
This is a cherry-pick of #19970

Currently for the pattern like this:
```
sycl::event eb1 = q1.ext_oneapi_submit_barrier();
q2.ext_oneapi_submit_barrier({ eb1 });

```
the second barrier ignores `eb1` in the waitlist because it is not
marked as enqueued even though it is supposed to. This PR fixes that.

Fixes #19777

Patch-by: Artur Gainullin <[email protected]>
@againull againull deleted the barrier_on_barrier branch September 29, 2025 21:29
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.

Barrier-on-barrier synchronization ineffectual between queues

2 participants