File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -104,14 +104,14 @@ if (UR_COMPUTE_RUNTIME_TAG STREQUAL "")
104
104
set (UR_COMPUTE_RUNTIME_TAG 24.39.31294.12 )
105
105
endif ()
106
106
include (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 )
112
112
endif ()
113
113
add_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}/../.." )
115
115
message (STATUS "Level Zero Adapter: Using Level Zero headers from ${COMPUTE_RUNTIME_LEVEL_ZERO_INCLUDE} " )
116
116
target_include_directories (ComputeRuntimeLevelZero-Headers
117
117
INTERFACE "$<BUILD_INTERFACE:${COMPUTE_RUNTIME_LEVEL_ZERO_INCLUDE} >"
You can’t perform that action at this time.
0 commit comments