Skip to content

Commit aa8530c

Browse files
authored
Merge pull request #709 from lukaszstolarczuk/bump-l0-loader-ver
Bump L0 loader
2 parents ff28d1e + 973df7a commit aa8530c

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

examples/gpu_shared_memory/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ endif()
2424
include(FetchContent)
2525

2626
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)
2828

2929
message(
3030
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} ..."
3232
)
3333

3434
FetchContent_Declare(

examples/ipc_level_zero/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ endif()
2424
include(FetchContent)
2525

2626
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)
2828

2929
message(
3030
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} ..."
3232
)
3333

3434
FetchContent_Declare(

src/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@ include(${UMF_CMAKE_SOURCE_DIR}/cmake/helpers.cmake)
66

77
set(UMF_LEVEL_ZERO_INCLUDE_DIR
88
""
9-
CACHE FILEPATH "Directory containing the Level Zero Headers")
9+
CACHE PATH "Directory containing the Level Zero Headers")
1010

1111
# Compile definitions for UMF library.
1212
#
1313
# TODO: Cleanup the compile definitions across all the CMake files
1414
set(UMF_COMMON_COMPILE_DEFINITIONS UMF_VERSION=${UMF_VERSION})
1515

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).
1618
if(UMF_BUILD_LEVEL_ZERO_PROVIDER AND (UMF_BUILD_GPU_TESTS
1719
OR (NOT UMF_LEVEL_ZERO_INCLUDE_DIR)))
1820
include(FetchContent)
1921

2022
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)
2224

2325
message(
2426
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} ..."
2628
)
2729

2830
FetchContent_Declare(

0 commit comments

Comments
 (0)