Skip to content

Commit 4152ed3

Browse files
[SYCL][NFC] Fix InOrderQueueIsolatedDeps when run repeatedly (#15340)
The test needs to reset the variable used to check when a UR call is made.
1 parent d286ca2 commit 4152ed3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/unittests/scheduler/InOrderQueueDeps.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ TEST_F(SchedulerTest, InOrderQueueIsolatedDeps) {
107107
sycl::platform Plt = sycl::platform();
108108
mock::getCallbacks().set_before_callback(
109109
"urEnqueueEventsWaitWithBarrier", &redefinedEnqueueEventsWaitWithBarrier);
110+
BarrierCalled = false;
110111

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

0 commit comments

Comments
 (0)