Skip to content

Commit c7a28d2

Browse files
typo correction
Signed-off-by: Zhang, Winston <[email protected]>
1 parent 7a7c728 commit c7a28d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unified-runtime/source/adapters/level_zero/context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ ur_result_t ur_context_handle_t_::getFreeSlotInExistingOrNewPool(
565565

566566
ze_result_t Result = ZE_CALL_NOCHECK(
567567
zeEventPoolCreate,
568-
(ZeContext, &ZeEventPoolDesc, ZeDevices.size(), &ZeDevices[0], &Pool));
568+
(ZeContext, &ZeEventPoolDesc, ZeDevices.size(), &ZeDevices[0], ZePool));
569569
if (IsInternal && ze2urResult(Result) == UR_RESULT_ERROR_OUT_OF_RESOURCES &&
570570
Queue) {
571571
if (!Queue->isInOrderQueue()) {
@@ -577,7 +577,7 @@ ur_result_t ur_context_handle_t_::getFreeSlotInExistingOrNewPool(
577577
UR_CALL(resetCommandLists(Queue));
578578
}
579579
ZE2UR_CALL(zeEventPoolCreate, (ZeContext, &ZeEventPoolDesc,
580-
ZeDevices.size(), &ZeDevices[0], &Pool));
580+
ZeDevices.size(), &ZeDevices[0], ZePool));
581581
}
582582
} else if (ze2urResult(Result) != UR_RESULT_SUCCESS) {
583583
return ze2urResult(Result);

0 commit comments

Comments
 (0)