@@ -1237,7 +1237,7 @@ ur_result_t urBindlessImagesImportExternalSemaphoreExp(
1237
1237
}
1238
1238
1239
1239
ZE2UR_CALL (UrPlatform->ZeExternalSemaphoreExt .zexImportExternalSemaphoreExp ,
1240
- (hDevice->ZeDevice , &ExtSemaphoreHandle , &SemDesc ));
1240
+ (hDevice->ZeDevice , &SemDesc , &ExtSemaphoreHandle ));
1241
1241
*phExternalSemaphoreHandle =
1242
1242
(ur_exp_external_semaphore_handle_t )ExtSemaphoreHandle;
1243
1243
@@ -1310,7 +1310,7 @@ ur_result_t urBindlessImagesWaitExternalSemaphoreExp(
1310
1310
reinterpret_cast <ze_intel_external_semaphore_exp_handle_t >(hSemaphore);
1311
1311
ZE2UR_CALL (UrPlatform->ZeExternalSemaphoreExt
1312
1312
.zexCommandListAppendWaitExternalSemaphoresExp ,
1313
- (ZeCommandList, &hExtSemaphore, &WaitParams, 1 , ZeEvent,
1313
+ (ZeCommandList, 1 , &hExtSemaphore, &WaitParams, ZeEvent,
1314
1314
WaitList.Length , WaitList.ZeEventList ));
1315
1315
1316
1316
return UR_RESULT_SUCCESS;
@@ -1373,7 +1373,7 @@ ur_result_t urBindlessImagesSignalExternalSemaphoreExp(
1373
1373
1374
1374
ZE2UR_CALL (UrPlatform->ZeExternalSemaphoreExt
1375
1375
.zexCommandListAppendSignalExternalSemaphoresExp ,
1376
- (ZeCommandList, &hExtSemaphore, &SignalParams, 1 , ZeEvent,
1376
+ (ZeCommandList, 1 , &hExtSemaphore, &SignalParams, ZeEvent,
1377
1377
WaitList.Length , WaitList.ZeEventList ));
1378
1378
1379
1379
return UR_RESULT_SUCCESS;
0 commit comments