Skip to content

Commit 2535062

Browse files
authored
[SYCL][E2E] Fix L0 barrier test to handle counting events (#15053)
- Test2 in level_zero_barrier_optimization.cpp will only see Event Create or Host Reset if counting events are not used from the cache, which is default for immediate command list and in order list use. - counting events cannot be reset so neither of these prints would be seen so this is optional. Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 15fbefc commit 2535062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/Plugin/level_zero_barrier_optimization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ int main() {
5555

5656
// CHECK: Test2
5757
// CHECK: ---> urEnqueueEventsWaitWithBarrier
58-
// CHECK: ZE ---> {{zeEventCreate|zeEventHostReset}}
58+
// CHECK-OPT: ZE ---> {{zeEventCreate|zeEventHostReset}}
5959
// CHECK: ZE ---> zeCommandListAppendWaitOnEvents
6060
// CHECK: ZE ---> zeCommandListAppendSignalEvent
6161
// CHECK: ) -> UR_RESULT_SUCCESS

0 commit comments

Comments
 (0)