Skip to content

Commit

Permalink
[SYCL][E2E] Fix L0 barrier test to handle counting events (intel#15053)
Browse files Browse the repository at this point in the history
- 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 <neil.r.spruit@intel.com>
  • Loading branch information
nrspruit authored Aug 15, 2024
1 parent 15fbefc commit 2535062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/test-e2e/Plugin/level_zero_barrier_optimization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int main() {

// CHECK: Test2
// CHECK: ---> urEnqueueEventsWaitWithBarrier
// CHECK: ZE ---> {{zeEventCreate|zeEventHostReset}}
// CHECK-OPT: ZE ---> {{zeEventCreate|zeEventHostReset}}
// CHECK: ZE ---> zeCommandListAppendWaitOnEvents
// CHECK: ZE ---> zeCommandListAppendSignalEvent
// CHECK: ) -> UR_RESULT_SUCCESS
Expand Down

0 comments on commit 2535062

Please sign in to comment.