Skip to content

[SYCL][test][e2e][L0] Fix L0 batch event test reliability #16843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions sycl/test-e2e/Adapters/level_zero_batch_event_status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,10 @@
// to make sure that the batching is submitted when the urEventGetInfo is
// done, rather than some other dynamic batching criteria.
//
// CHECK: ---> urEnqueueKernelLaunch
// CHECK: ZE ---> zeCommandListAppendLaunchKernel
// Shouldn't have closed until we see a urEventGetInfo
// CHECK-NOT: ZE ---> zeCommandListClose
// CHECK-NOT: ZE ---> zeCommandQueueExecuteCommandLists
// CHECK: ---> urEventGetInfo
// Shouldn't see another urGetEventInfo until after closing command list
// CHECK-NOT: ---> urEventGetInfo
// Look for close and Execute after urEventGetInfo
// CHECK: ZE ---> zeCommandListClose
// CHECK: ZE ---> zeCommandQueueExecuteCommandLists
// The call to urEventGetInfo should trigger the executeOpenCommandList to
// execute the batch.
// CHECK: ---> urEventGetInfo
// CHECK-NOT: ---> urEventsWait
// CHECK: ---> urEnqueueKernelLaunch
// CHECK: ZE ---> zeCommandListAppendLaunchKernel
// CHECK: UR ---> UrQueue->executeOpenCommandList
// CHECK: ---> urQueueFinish
// Look for close and Execute after urQueueFinish
// CHECK: ZE ---> zeCommandListClose
Expand Down