File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
source/loader/layers/sanitizer Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -214,8 +214,9 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueKernelLaunch(
214214
215215 context.logger .debug (" ==== urEnqueueKernelLaunch" );
216216
217- LaunchInfo LaunchInfo (GetContext (hQueue), pGlobalWorkSize, pLocalWorkSize,
218- pGlobalWorkOffset, workDim);
217+ USMLaunchInfo LaunchInfo (GetContext (hQueue), GetDevice (hQueue),
218+ pGlobalWorkSize, pLocalWorkSize, pGlobalWorkOffset,
219+ workDim);
219220
220221 UR_CALL (context.interceptor ->preLaunchKernel (hKernel, hQueue, LaunchInfo));
221222
@@ -225,8 +226,8 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueKernelLaunch(
225226 pLocalWorkSize, numEventsInWaitList, phEventWaitList, &hEvent);
226227
227228 if (result == UR_RESULT_SUCCESS) {
228- UR_CALL (context. interceptor -> postLaunchKernel (hKernel, hQueue, hEvent,
229- LaunchInfo));
229+ UR_CALL (
230+ context. interceptor -> postLaunchKernel (hKernel, hQueue, LaunchInfo));
230231 }
231232
232233 if (phEvent) {
You can’t perform that action at this time.
0 commit comments