Skip to content

Conversation

uditagarwal97
Copy link
Contributor

This unit test failed in sycl-rel and internal CI (see https://github.com/intel/llvm/actions/runs/18096621667/job/51489057567) because the test is using members of class ExtOneapiBarrierOptTest, and these members need to be re-initialized in between two test runs. TEST_F does exactly that.

@uditagarwal97 uditagarwal97 self-assigned this Sep 29, 2025
@uditagarwal97 uditagarwal97 requested a review from a team as a code owner September 29, 2025 17:06
@uditagarwal97
Copy link
Contributor Author

Windows BMG E2E test failure is unrelated.

@uditagarwal97 uditagarwal97 merged commit 0ff1a5c into sycl Sep 29, 2025
27 of 28 checks passed
@uditagarwal97 uditagarwal97 deleted the private/udit/exit_oneapi_b_fix branch September 29, 2025 18:47
AlexeySachkov added a commit that referenced this pull request Sep 30, 2025
This is a cherry-pick of #20159 (and #20241)

**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.


Patch-by: Udit Kumar Agarwal <[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.

2 participants