Skip to content

Commit b142b2a

Browse files
nrspruitbb-ur
authored andcommitted
Fixed supported logic for external semaphore (#19863)
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent f68f1bd commit b142b2a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)