Skip to content

Conversation

AlexeySachkov
Copy link
Contributor

This is a cherry-pick of #20159

Problem

As an optimization in ext_oneapi_submit_barrier, for in-order queue, when waitlist is empty, we return the last event, if it is available. However, after #18277, we no longer store last event and instead submit a marker to get the last event. And this caused performance regression in some of our internal benchmarks.

Solution
Don't return last event and instead submit a barrier with empty waitlist.

…20159)

**Problem**

As an optimization in `ext_oneapi_submit_barrier`, for in-order queue,
when waitlist is empty, we return the last event, if it is available.
However, after intel#18277, we no longer
store last event and instead submit a marker to get the last event. And
this caused performance regression in some of our internal benchmarks.

**Solution**
Don't return last event and instead submit a barrier with empty
waitlist.
@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 3a6b088 into intel:sycl-rel-6_3 Sep 30, 2025
34 of 40 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/cherry-pick-20159 branch September 30, 2025 13:48
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