Skip to content

Commit

Permalink
[SYCL][NFC] Fix InOrderQueueIsolatedDeps when run repeatedly (#15340)
Browse files Browse the repository at this point in the history
The test needs to reset the variable used to check when a UR call is
made.
  • Loading branch information
sergey-semenov authored Sep 11, 2024
1 parent d286ca2 commit 4152ed3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sycl/unittests/scheduler/InOrderQueueDeps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ TEST_F(SchedulerTest, InOrderQueueIsolatedDeps) {
sycl::platform Plt = sycl::platform();
mock::getCallbacks().set_before_callback(
"urEnqueueEventsWaitWithBarrier", &redefinedEnqueueEventsWaitWithBarrier);
BarrierCalled = false;

context Ctx{Plt.get_devices()[0]};
queue Q1{Ctx, default_selector_v, property::queue::in_order()};
Expand Down

0 comments on commit 4152ed3

Please sign in to comment.