File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ endif()
24
24
include (FetchContent )
25
25
26
26
set (LEVEL_ZERO_LOADER_REPO "https://github.com/oneapi-src/level-zero.git" )
27
- set (LEVEL_ZERO_LOADER_TAG v1.16.1 )
27
+ set (LEVEL_ZERO_LOADER_TAG v1.17.39 )
28
28
29
29
message (
30
30
STATUS
31
- "Installing level-zero ${LEVEL_ZERO_LOADER_TAG} from ${LEVEL_ZERO_LOADER_REPO} ..."
31
+ "Fetching L0 loader ( ${LEVEL_ZERO_LOADER_TAG} ) from ${LEVEL_ZERO_LOADER_REPO} ..."
32
32
)
33
33
34
34
FetchContent_Declare (
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ endif()
24
24
include (FetchContent )
25
25
26
26
set (LEVEL_ZERO_LOADER_REPO "https://github.com/oneapi-src/level-zero.git" )
27
- set (LEVEL_ZERO_LOADER_TAG v1.16.1 )
27
+ set (LEVEL_ZERO_LOADER_TAG v1.17.39 )
28
28
29
29
message (
30
30
STATUS
31
- "Installing level-zero ${LEVEL_ZERO_LOADER_TAG} from ${LEVEL_ZERO_LOADER_REPO} ..."
31
+ "Fetching L0 loader ( ${LEVEL_ZERO_LOADER_TAG} ) from ${LEVEL_ZERO_LOADER_REPO} ..."
32
32
)
33
33
34
34
FetchContent_Declare (
Original file line number Diff line number Diff line change @@ -6,23 +6,25 @@ include(${UMF_CMAKE_SOURCE_DIR}/cmake/helpers.cmake)
6
6
7
7
set (UMF_LEVEL_ZERO_INCLUDE_DIR
8
8
""
9
- CACHE FILEPATH "Directory containing the Level Zero Headers" )
9
+ CACHE PATH "Directory containing the Level Zero Headers" )
10
10
11
11
# Compile definitions for UMF library.
12
12
#
13
13
# TODO: Cleanup the compile definitions across all the CMake files
14
14
set (UMF_COMMON_COMPILE_DEFINITIONS UMF_VERSION=${UMF_VERSION} )
15
15
16
+ # Only fetch L0 loader if needed (L0 provider and GPU tests are ON), and not
17
+ # already provided by the user (via setting UMF_LEVEL_ZERO_INCLUDE_DIR).
16
18
if (UMF_BUILD_LEVEL_ZERO_PROVIDER AND (UMF_BUILD_GPU_TESTS
17
19
OR (NOT UMF_LEVEL_ZERO_INCLUDE_DIR )))
18
20
include (FetchContent )
19
21
20
22
set (LEVEL_ZERO_LOADER_REPO "https://github.com/oneapi-src/level-zero.git" )
21
- set (LEVEL_ZERO_LOADER_TAG v1.16.1 )
23
+ set (LEVEL_ZERO_LOADER_TAG v1.17.39 )
22
24
23
25
message (
24
26
STATUS
25
- "Installing level-zero ${LEVEL_ZERO_LOADER_TAG} from ${LEVEL_ZERO_LOADER_REPO} ..."
27
+ "Fetching L0 loader ( ${LEVEL_ZERO_LOADER_TAG} ) from ${LEVEL_ZERO_LOADER_REPO} ..."
26
28
)
27
29
28
30
FetchContent_Declare (
You can’t perform that action at this time.
0 commit comments