From c00a80b63345e011cbb3f09b5876e0884fd08c51 Mon Sep 17 00:00:00 2001 From: Maosu Zhao Date: Wed, 10 Jul 2024 16:45:53 +0800 Subject: [PATCH] [UR][DeviceSantizer] Enable Symoblizer for UR santizer layer --- sycl/cmake/modules/FetchUnifiedRuntime.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sycl/cmake/modules/FetchUnifiedRuntime.cmake b/sycl/cmake/modules/FetchUnifiedRuntime.cmake index 4dd0637c4ffa..60f01cef81c7 100644 --- a/sycl/cmake/modules/FetchUnifiedRuntime.cmake +++ b/sycl/cmake/modules/FetchUnifiedRuntime.cmake @@ -26,6 +26,8 @@ set(SYCL_PI_UR_SOURCE_DIR # Here we override the defaults to disable building tests from unified-runtime set(UR_BUILD_EXAMPLES OFF CACHE BOOL "Build example applications." FORCE) set(UR_BUILD_TESTS OFF CACHE BOOL "Build unit tests." FORCE) +# Override default to enable symbolizer from unified-runtime +set(UR_ENABLE_SYMBOLIZER ON CACHE BOOL "Enable symbolizer for sanitizer layer.") set(UR_BUILD_XPTI_LIBS OFF) set(UR_ENABLE_TRACING ON)