Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: dchigarev <[email protected]>
  • Loading branch information
dchigarev committed Aug 1, 2024
1 parent c8ff254 commit f78f6d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/imex.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (NOT DEFINED IMEX_INCLUDES)
# TODO: Change to main https://github.com/oneapi-src/oneDNN.git when all the
# required functionality is merged.
gc_fetch_content(imex 496b240093b5e132b60c5ee69878300fe69be300 https://github.com/Menooker/mlir-extensions
CMAKE_ARGS "-DMLIR_DIR=${MLIR_DIR};-DIMEX_CHECK_LLVM_VERSION=ON"
CMAKE_ARGS "-DMLIR_DIR=${MLIR_DIR};-DIMEX_CHECK_LLVM_VERSION=ON;-DIMEX_ENABLE_L0_RUNTIME=${IMEX_ENABLE_L0_RUNTIME}"
)

set(IMEX_INCLUDES
Expand Down
3 changes: 3 additions & 0 deletions test/mlir/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ set(GC_OPT_TEST_DEPENDS
if(GC_USE_GPU)
include(imex)
list(APPEND GC_OPT_TEST_DEPENDS mlir_opencl_runtime)
if (IMEX_ENABLE_L0_RUNTIME)
list(APPEND GC_OPT_TEST_DEPENDS level-zero-runtime)
endif()
endif()

if(GC_ENABLE_BINDINGS_PYTHON)
Expand Down

0 comments on commit f78f6d2

Please sign in to comment.