Skip to content

Commit be80d5c

Browse files
committed
Fix event lists are not correctly passed to KernelLaunch
1 parent 38e6f78 commit be80d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/loader/layers/sanitizer/ur_sanddi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueKernelLaunch(
249249
ur_event_handle_t hEvent{};
250250
ur_result_t result = pfnKernelLaunch(
251251
hQueue, hKernel, workDim, pGlobalWorkOffset, pGlobalWorkSize,
252-
pLocalWorkSize, numEventsInWaitList, phEventWaitList, &hEvent);
252+
pLocalWorkSize, hEvents.size(), hEvents.data(), &hEvent);
253253

254254
if (result == UR_RESULT_SUCCESS) {
255255
context.interceptor->postLaunchKernel(hKernel, hQueue, hEvent,

0 commit comments

Comments
 (0)