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(
214
214
215
215
context.logger .debug (" ==== urEnqueueKernelLaunch" );
216
216
217
- LaunchInfo LaunchInfo (GetContext (hQueue), pGlobalWorkSize, pLocalWorkSize,
218
- pGlobalWorkOffset, workDim);
217
+ USMLaunchInfo LaunchInfo (GetContext (hQueue), GetDevice (hQueue),
218
+ pGlobalWorkSize, pLocalWorkSize, pGlobalWorkOffset,
219
+ workDim);
219
220
220
221
UR_CALL (context.interceptor ->preLaunchKernel (hKernel, hQueue, LaunchInfo));
221
222
@@ -225,8 +226,8 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueKernelLaunch(
225
226
pLocalWorkSize, numEventsInWaitList, phEventWaitList, &hEvent);
226
227
227
228
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));
230
231
}
231
232
232
233
if (phEvent) {
You can’t perform that action at this time.
0 commit comments