@@ -1237,7 +1237,7 @@ ur_result_t urBindlessImagesImportExternalSemaphoreExp(
12371237 }
12381238
12391239 ZE2UR_CALL (UrPlatform->ZeExternalSemaphoreExt .zexImportExternalSemaphoreExp ,
1240- (hDevice->ZeDevice , &ExtSemaphoreHandle , &SemDesc ));
1240+ (hDevice->ZeDevice , &SemDesc , &ExtSemaphoreHandle ));
12411241 *phExternalSemaphoreHandle =
12421242 (ur_exp_external_semaphore_handle_t )ExtSemaphoreHandle;
12431243
@@ -1310,7 +1310,7 @@ ur_result_t urBindlessImagesWaitExternalSemaphoreExp(
13101310 reinterpret_cast <ze_intel_external_semaphore_exp_handle_t >(hSemaphore);
13111311 ZE2UR_CALL (UrPlatform->ZeExternalSemaphoreExt
13121312 .zexCommandListAppendWaitExternalSemaphoresExp ,
1313- (ZeCommandList, &hExtSemaphore, &WaitParams, 1 , ZeEvent,
1313+ (ZeCommandList, 1 , &hExtSemaphore, &WaitParams, ZeEvent,
13141314 WaitList.Length , WaitList.ZeEventList ));
13151315
13161316 return UR_RESULT_SUCCESS;
@@ -1373,7 +1373,7 @@ ur_result_t urBindlessImagesSignalExternalSemaphoreExp(
13731373
13741374 ZE2UR_CALL (UrPlatform->ZeExternalSemaphoreExt
13751375 .zexCommandListAppendSignalExternalSemaphoresExp ,
1376- (ZeCommandList, &hExtSemaphore, &SignalParams, 1 , ZeEvent,
1376+ (ZeCommandList, 1 , &hExtSemaphore, &SignalParams, ZeEvent,
13771377 WaitList.Length , WaitList.ZeEventList ));
13781378
13791379 return UR_RESULT_SUCCESS;
0 commit comments