Skip to content

Commit e2ea53b

Browse files
nrspruitAlexeySachkov
authored andcommitted
[UR][L0][V2] Fixed supported logic for external semaphore (intel#19863)
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 470e3aa commit e2ea53b

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
@@ -897,7 +897,7 @@ ur_result_t ur_command_list_manager::bindlessImagesWaitExternalSemaphoreExp(
897897
uint64_t waitValue, uint32_t numEventsInWaitList,
898898
const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent) {
899899
auto hPlatform = hContext->getPlatform();
900-
if (!hPlatform->ZeExternalSemaphoreExt.Supported == false) {
900+
if (hPlatform->ZeExternalSemaphoreExt.Supported == false) {
901901
UR_LOG_LEGACY(ERR,
902902
logger::LegacyMessage("[UR][L0] {} function not supported!"),
903903
"{} function not supported!", __FUNCTION__);
@@ -927,7 +927,7 @@ ur_result_t ur_command_list_manager::bindlessImagesSignalExternalSemaphoreExp(
927927
uint64_t signalValue, uint32_t numEventsInWaitList,
928928
const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent) {
929929
auto hPlatform = hContext->getPlatform();
930-
if (!hPlatform->ZeExternalSemaphoreExt.Supported == false) {
930+
if (hPlatform->ZeExternalSemaphoreExt.Supported == false) {
931931
UR_LOG_LEGACY(ERR,
932932
logger::LegacyMessage("[UR][L0] {} function not supported!"),
933933
"{} function not supported!", __FUNCTION__);

0 commit comments

Comments
 (0)