Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

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

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
Copy link
Contributor Author

Unexpectedly Passed Tests (1):
  SYCL :: KernelAndProgram/kernel-bundle-get-kernel-ids.cpp

That is a known XPASS, I will proceed with merge

@AlexeySachkov AlexeySachkov merged commit 1653791 into intel:sycl-rel-6_3 Sep 18, 2025
21 of 23 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/cherry-pick-19970 branch September 18, 2025 18:02
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.

2 participants