diff --git a/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp b/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp index 04ddafa1115be..3561d84ae3962 100644 --- a/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp +++ b/unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp @@ -911,7 +911,7 @@ ur_result_t ur_command_list_manager::bindlessImagesWaitExternalSemaphoreExp( uint64_t waitValue, uint32_t numEventsInWaitList, const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent) { auto hPlatform = hContext->getPlatform(); - if (!hPlatform->ZeExternalSemaphoreExt.Supported == false) { + if (hPlatform->ZeExternalSemaphoreExt.Supported == false) { UR_LOG_LEGACY(ERR, logger::LegacyMessage("[UR][L0] {} function not supported!"), "{} function not supported!", __FUNCTION__); @@ -941,7 +941,7 @@ ur_result_t ur_command_list_manager::bindlessImagesSignalExternalSemaphoreExp( uint64_t signalValue, uint32_t numEventsInWaitList, const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent) { auto hPlatform = hContext->getPlatform(); - if (!hPlatform->ZeExternalSemaphoreExt.Supported == false) { + if (hPlatform->ZeExternalSemaphoreExt.Supported == false) { UR_LOG_LEGACY(ERR, logger::LegacyMessage("[UR][L0] {} function not supported!"), "{} function not supported!", __FUNCTION__);