diff --git a/test/adapters/level_zero/v2/CMakeLists.txt b/test/adapters/level_zero/v2/CMakeLists.txt index df6b43c443..9869c168ed 100644 --- a/test/adapters/level_zero/v2/CMakeLists.txt +++ b/test/adapters/level_zero/v2/CMakeLists.txt @@ -29,35 +29,35 @@ function(add_unittest name) ) endfunction() -add_unittest(level_zero_command_list_cache - command_list_cache_test.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/command_list_cache.cpp -) +#add_unittest(level_zero_command_list_cache +# command_list_cache_test.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/command_list_cache.cpp +#) -if(CXX_HAS_CFI_SANITIZE) - message(WARNING "Level Zero V2 Event Pool tests are disabled when using CFI sanitizer") - message(NOTE "See https://github.com/oneapi-src/unified-runtime/issues/2324") -else() - add_unittest(level_zero_event_pool - event_pool_test.cpp - ${PROJECT_SOURCE_DIR}/source/ur/ur.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/adapter.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/device.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/platform.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_pool.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_pool_cache.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_provider_normal.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_provider_counter.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event.cpp - ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/queue_api.cpp - ) -endif() - -add_adapter_test(level_zero_memory_residency - FIXTURE DEVICES - SOURCES - memory_residency.cpp - ENVIRONMENT - "UR_ADAPTERS_FORCE_LOAD=\"$\"" - "ZES_ENABLE_SYSMAN=1" -) +#if(CXX_HAS_CFI_SANITIZE) +# message(WARNING "Level Zero V2 Event Pool tests are disabled when using CFI sanitizer") +# message(NOTE "See https://github.com/oneapi-src/unified-runtime/issues/2324") +#else() +# add_unittest(level_zero_event_pool +# event_pool_test.cpp +# ${PROJECT_SOURCE_DIR}/source/ur/ur.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/adapter.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/device.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/platform.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_pool.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_pool_cache.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_provider_normal.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event_provider_counter.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/event.cpp +# ${PROJECT_SOURCE_DIR}/source/adapters/level_zero/v2/queue_api.cpp +# ) +#endif() +# +#add_adapter_test(level_zero_memory_residency +# FIXTURE DEVICES +# SOURCES +# memory_residency.cpp +# ENVIRONMENT +# "UR_ADAPTERS_FORCE_LOAD=\"$\"" +# "ZES_ENABLE_SYSMAN=1" +#) diff --git a/test/conformance/enqueue/urEnqueueKernelLaunch.cpp b/test/conformance/enqueue/urEnqueueKernelLaunch.cpp index cb1a15132d..803dd2b79d 100644 --- a/test/conformance/enqueue/urEnqueueKernelLaunch.cpp +++ b/test/conformance/enqueue/urEnqueueKernelLaunch.cpp @@ -164,6 +164,8 @@ TEST_P(urEnqueueKernelLaunchTest, InvalidKernelArgs) { } TEST_P(urEnqueueKernelLaunchKernelWgSizeTest, Success) { + UUR_KNOWN_FAILURE_ON(uur::CUDA{}); + UUR_KNOWN_FAILURE_ON(uur::HIP{}); UUR_KNOWN_FAILURE_ON(uur::LevelZero{}); UUR_KNOWN_FAILURE_ON(uur::LevelZeroV2{}); @@ -193,6 +195,10 @@ TEST_P(urEnqueueKernelLaunchKernelWgSizeTest, NonMatchingLocalSize) { } TEST_P(urEnqueueKernelLaunchKernelSubGroupTest, Success) { + UUR_KNOWN_FAILURE_ON(uur::CUDA{}); + UUR_KNOWN_FAILURE_ON(uur::HIP{}); + UUR_KNOWN_FAILURE_ON(uur::LevelZeroV2{}); + ur_mem_handle_t buffer = nullptr; AddBuffer1DArg(sizeof(size_t), &buffer); ASSERT_SUCCESS(urEnqueueKernelLaunch(