File tree Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ endif()
140140set (MLIR_ENABLE_CUDA_RUNNER 0 CACHE BOOL "Enable building the MLIR CUDA runner" )
141141set (MLIR_ENABLE_ROCM_RUNNER 0 CACHE BOOL "Enable building the MLIR ROCm runner" )
142142set (MLIR_ENABLE_SYCL_RUNNER 0 CACHE BOOL "Enable building the MLIR SYCL runner" )
143+ set (MLIR_ENABLE_LEVELZERO_RUNNER 0 CACHE BOOL "Enable building the MLIR LevelZero runner" )
143144set (MLIR_ENABLE_SPIRV_CPU_RUNNER 0 CACHE BOOL "Enable building the MLIR SPIR-V cpu runner" )
144145set (MLIR_ENABLE_VULKAN_RUNNER 0 CACHE BOOL "Enable building the MLIR Vulkan runner" )
145146set (MLIR_ENABLE_NVPTXCOMPILER 0 CACHE BOOL
Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ if(LLVM_ENABLE_PIC)
426426 set_property (TARGET mlir_sycl_runtime APPEND PROPERTY BUILD_RPATH "${LevelZeroRuntime_LIBRARIES_DIR} " "${SyclRuntime_LIBRARIES_DIR} " )
427427 endif ()
428428
429- if (MLIR_ENABLE_LEVEL_ZERO_RUNNER )
429+ if (MLIR_ENABLE_LEVELZERO_RUNNER )
430430 find_package (LevelZeroRuntime)
431431
432432 if (NOT LevelZeroRuntime_FOUND)
Original file line number Diff line number Diff line change @@ -167,6 +167,10 @@ if(MLIR_ENABLE_SYCL_RUNNER)
167167 list (APPEND MLIR_TEST_DEPENDS mlir_sycl_runtime)
168168endif ()
169169
170+ if (MLIR_ENABLE_LEVELZERO_RUNNER)
171+ list (APPEND MLIR_TEST_DEPENDS mlir_levelzero_runtime)
172+ endif ()
173+
170174if (MLIR_RUN_ARM_SME_TESTS AND NOT ARM_SME_ABI_ROUTINES_SHLIB)
171175 list (APPEND MLIR_TEST_DEPENDS mlir_arm_sme_abi_stubs)
172176endif ()
Original file line number Diff line number Diff line change @@ -224,6 +224,9 @@ def find_real_python_interpreter():
224224if config .enable_sycl_runner :
225225 tools .extend ([add_runtime ("mlir_sycl_runtime" )])
226226
227+ if config .enable_levelzero_runner :
228+ tools .extend ([add_runtime ("mlir_levelzero_runtime" )])
229+
227230if config .enable_spirv_cpu_runner :
228231 tools .extend ([add_runtime ("mlir_spirv_cpu_runtime" )])
229232
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ config.enable_rocm_runner = @MLIR_ENABLE_ROCM_RUNNER@
3434config.gpu_compilation_format = "@MLIR_GPU_COMPILATION_TEST_FORMAT@"
3535config.rocm_test_chipset = "@ROCM_TEST_CHIPSET@"
3636config.enable_sycl_runner = @MLIR_ENABLE_SYCL_RUNNER@
37+ config.enable_levelzero_runner = @MLIR_ENABLE_LEVELZERO_RUNNER@
3738config.enable_spirv_cpu_runner = @MLIR_ENABLE_SPIRV_CPU_RUNNER@
3839config.enable_vulkan_runner = @MLIR_ENABLE_VULKAN_RUNNER@
3940config.enable_bindings_python = @MLIR_ENABLE_BINDINGS_PYTHON@
You can’t perform that action at this time.
0 commit comments