File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,14 +104,14 @@ if (UR_COMPUTE_RUNTIME_TAG STREQUAL "")
104104set (UR_COMPUTE_RUNTIME_TAG 24.39.31294.12)
105105endif ()
106106include (FetchContent )
107- # Sparse fetch only the dir with level zero headers to avoid pulling in the entire compute-runtime.
108- FetchContentSparse_Declare (compute-runtime-level-zero -headers ${UR_COMPUTE_RUNTIME_REPO} "${UR_COMPUTE_RUNTIME_TAG} " "level_zero/include" )
109- FetchContent_GetProperties (compute-runtime-level-zero -headers)
110- if (NOT compute-runtime-level-zero -headers_POPULATED)
111- FetchContent_Populate (compute-runtime-level-zero -headers)
107+ # Sparse fetch only the dir with level zero headers for experimental features to avoid pulling in the entire compute-runtime.
108+ FetchContentSparse_Declare (exp -headers ${UR_COMPUTE_RUNTIME_REPO} "${UR_COMPUTE_RUNTIME_TAG} " "level_zero/include" )
109+ FetchContent_GetProperties (exp -headers)
110+ if (NOT exp -headers_POPULATED)
111+ FetchContent_Populate (exp -headers)
112112endif ()
113113add_library (ComputeRuntimeLevelZero-Headers INTERFACE )
114- set (COMPUTE_RUNTIME_LEVEL_ZERO_INCLUDE "${compute-runtime-level-zero -headers_SOURCE_DIR}/../.." )
114+ set (COMPUTE_RUNTIME_LEVEL_ZERO_INCLUDE "${exp -headers_SOURCE_DIR}/../.." )
115115message (STATUS "Level Zero Adapter: Using Level Zero headers from ${COMPUTE_RUNTIME_LEVEL_ZERO_INCLUDE} " )
116116target_include_directories (ComputeRuntimeLevelZero-Headers
117117 INTERFACE "$<BUILD_INTERFACE :${COMPUTE_RUNTIME_LEVEL_ZERO_INCLUDE} >"
You can’t perform that action at this time.
0 commit comments