diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 0feae97e2a..da82eb7e43 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -122,7 +122,7 @@ jobs: -B${{github.workspace}}/build -DCMAKE_C_COMPILER=${{matrix.compiler.c}} -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} - -DUR_ENABLE_TRACING=OFF + -DUR_ENABLE_TRACING=ON -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DUR_BUILD_TESTS=ON -DUR_USE_ASAN=ON diff --git a/test/fuzz/CMakeLists.txt b/test/fuzz/CMakeLists.txt index 198cc583d5..97ad1c91c9 100644 --- a/test/fuzz/CMakeLists.txt +++ b/test/fuzz/CMakeLists.txt @@ -18,7 +18,7 @@ function(add_fuzz_test name label) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) set(ENV_VARS UR_ENABLE_LAYERS=UR_LAYER_FULL_VALIDATION) - if (UR_BUILD_ADAPTER_L0) + if(UR_BUILD_ADAPTER_L0) list(APPEND ENV_VARS UR_ADAPTERS_FORCE_LOAD=\"$\" NEOReadDebugKeys=1 @@ -26,6 +26,13 @@ function(add_fuzz_test name label) else() list(APPEND ENV_VARS UR_ADAPTERS_FORCE_LOAD=\"$\") endif() + if(UR_ENABLE_TRACING) + list(APPEND ENV_VARS + XPTI_TRACE_ENABLE=1 + XPTI_FRAMEWORK_DISPATCHER=$ + XPTI_SUBSCRIBERS=$ + UR_ENABLE_LAYERS=UR_LAYER_TRACING) + endif() set_tests_properties(${TEST_TARGET_NAME} PROPERTIES LABELS ${label} ENVIRONMENT "${ENV_VARS}")