Skip to content

Commit 7f1f2b9

Browse files
committed
[SYCL][NATIVECPU] enabled oneTBB for testing
1 parent fc659c1 commit 7f1f2b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/cmake/modules/FetchUnifiedRuntime.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ set(UR_BUILD_XPTI_LIBS OFF)
3333
set(UR_ENABLE_SYMBOLIZER ON CACHE BOOL "Enable symbolizer for sanitizer layer.")
3434
set(UR_ENABLE_TRACING ON)
3535

36+
# enabling oneTBB in NativeCPU
37+
set(NATIVECPU_WITH_ONETBB ON CACHE BOOL "Use TBB as backend for Native CPU" FORCE)
38+
3639
if("level_zero" IN_LIST SYCL_ENABLE_BACKENDS)
3740
set(UR_BUILD_ADAPTER_L0 ON)
3841
endif()

0 commit comments

Comments
 (0)