Skip to content

Commit c7ff661

Browse files
authored
[UR][L0][V2] Fixed supported logic for external semaphore (#19863)
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 6927aef commit c7ff661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ ur_result_t ur_command_list_manager::bindlessImagesWaitExternalSemaphoreExp(
911911
uint64_t waitValue, uint32_t numEventsInWaitList,
912912
const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent) {
913913
auto hPlatform = hContext->getPlatform();
914-
if (!hPlatform->ZeExternalSemaphoreExt.Supported == false) {
914+
if (hPlatform->ZeExternalSemaphoreExt.Supported == false) {
915915
UR_LOG_LEGACY(ERR,
916916
logger::LegacyMessage("[UR][L0] {} function not supported!"),
917917
"{} function not supported!", __FUNCTION__);
@@ -941,7 +941,7 @@ ur_result_t ur_command_list_manager::bindlessImagesSignalExternalSemaphoreExp(
941941
uint64_t signalValue, uint32_t numEventsInWaitList,
942942
const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent) {
943943
auto hPlatform = hContext->getPlatform();
944-
if (!hPlatform->ZeExternalSemaphoreExt.Supported == false) {
944+
if (hPlatform->ZeExternalSemaphoreExt.Supported == false) {
945945
UR_LOG_LEGACY(ERR,
946946
logger::LegacyMessage("[UR][L0] {} function not supported!"),
947947
"{} function not supported!", __FUNCTION__);

0 commit comments

Comments
 (0)