Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 3ee9891

Browse files
[SYCL] Adjust Level Zero tests to queue::wait() changes (#631)
1 parent cfea612 commit 3ee9891

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

SYCL/Plugin/level_zero_batch_event_status.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
// CHECK-NOT: piEventsWait
2929
// CHECK: ---> piEnqueueKernelLaunch
3030
// CHECK: ZE ---> zeCommandListAppendLaunchKernel
31-
// CHECK: ---> piEventsWait
32-
// Look for close and Execute after piEventsWait
31+
// CHECK: ---> piQueueFinish
32+
// Look for close and Execute after piQueueFinish
3333
// CHECK: ZE ---> zeCommandListClose
3434
// CHECK: ZE ---> zeCommandQueueExecuteCommandLists
3535
// CHECK: ---> piEventGetInfo

SYCL/Plugin/level_zero_batch_test.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
// Expected output is that for batching =1 you will see zeCommandListClose,
3333
// and zeCommandQueueExecuteCommandLists after every piEnqueueKernelLaunch.
3434
// For batching=3 you will see that after 3rd and 6th enqueues, and then after
35-
// piEventsWait. For 5, after 5th piEnqueue, and then after piEventsWait. For
35+
// piQueueFinish. For 5, after 5th piEnqueue, and then after piQueueFinish. For
3636
// 4 you will see these after 4th and 8th Enqueue, and for 8, only after the
3737
// 8th enqueue. And lastly for 9, you will see the Close and Execute calls
38-
// only after the piEventsWait.
38+
// only after the piQueueFinish.
3939
// Since the test does this 3 times, this pattern will repeat 2 more times,
4040
// and then the test will print Test Passed 8 times, once for each kernel
4141
// validation check.
@@ -86,7 +86,7 @@
8686
// CKB4: ZE ---> zeCommandQueueExecuteCommandLists(
8787
// CKB8: ZE ---> zeCommandListClose(
8888
// CKB8: ZE ---> zeCommandQueueExecuteCommandLists(
89-
// CKALL: ---> piEventsWait(
89+
// CKALL: ---> piQueueFinish(
9090
// CKB3: ZE ---> zeCommandListClose(
9191
// CKB3: ZE ---> zeCommandQueueExecuteCommandLists(
9292
// CKB5: ZE ---> zeCommandListClose(
@@ -142,7 +142,7 @@
142142
// CKB4: ZE ---> zeCommandQueueExecuteCommandLists(
143143
// CKB8: ZE ---> zeCommandListClose(
144144
// CKB8: ZE ---> zeCommandQueueExecuteCommandLists(
145-
// CKALL: ---> piEventsWait(
145+
// CKALL: ---> piQueueFinish(
146146
// CKB3: ZE ---> zeCommandListClose(
147147
// CKB3: ZE ---> zeCommandQueueExecuteCommandLists(
148148
// CKB5: ZE ---> zeCommandListClose(
@@ -198,7 +198,7 @@
198198
// CKB4: ZE ---> zeCommandQueueExecuteCommandLists(
199199
// CKB8: ZE ---> zeCommandListClose(
200200
// CKB8: ZE ---> zeCommandQueueExecuteCommandLists(
201-
// CKALL: ---> piEventsWait(
201+
// CKALL: ---> piQueueFinish(
202202
// CKB3: ZE ---> zeCommandListClose(
203203
// CKB3: ZE ---> zeCommandQueueExecuteCommandLists(
204204
// CKB5: ZE ---> zeCommandListClose(

0 commit comments

Comments
 (0)