Skip to content

Commit 829b9d4

Browse files
committed
fix tests
Signed-off-by: dchigarev <[email protected]>
1 parent 05aa8d6 commit 829b9d4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cmake/imex.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (NOT DEFINED IMEX_INCLUDES)
77
# TODO: Change to main https://github.com/oneapi-src/oneDNN.git when all the
88
# required functionality is merged.
99
gc_fetch_content(imex 496b240093b5e132b60c5ee69878300fe69be300 https://github.com/Menooker/mlir-extensions
10-
CMAKE_ARGS "-DMLIR_DIR=${MLIR_DIR};-DIMEX_CHECK_LLVM_VERSION=ON"
10+
CMAKE_ARGS "-DMLIR_DIR=${MLIR_DIR};-DIMEX_CHECK_LLVM_VERSION=ON;-DIMEX_ENABLE_L0_RUNTIME=${IMEX_ENABLE_L0_RUNTIME}"
1111
)
1212

1313
set(IMEX_INCLUDES

test/mlir/test/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ set(GC_OPT_TEST_DEPENDS
2626
if(GC_USE_GPU)
2727
include(imex)
2828
list(APPEND GC_OPT_TEST_DEPENDS mlir_opencl_runtime)
29+
if (IMEX_ENABLE_L0_RUNTIME)
30+
list(APPEND GC_OPT_TEST_DEPENDS level-zero-runtime)
31+
endif()
2932
endif()
3033

3134
if(GC_ENABLE_BINDINGS_PYTHON)

0 commit comments

Comments
 (0)