diff options
| author | Sang Ik Lee <sang.ik.lee@intel.com> | 2025-08-13 13:17:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-13 13:17:10 -0700 |
| commit | baae949f19795b08633063c082bd578134c27a9b (patch) | |
| tree | 39b2fe88eacfb4523134431ba4f783babd8d2e53 /mlir/CMakeLists.txt | |
| parent | 06d2d1e15663967f99c7c6c52351ff8210e8b857 (diff) | |
[MLIR][GPU][XeVM] Add XeVM target and XeVM dialect integration tests. (#148286)
As part of XeVM dialect upsteaming, covers remaining parts required for XeVM dialect integration and testing.
It has two high level components
- XeVM target and serialization support
- XeVM dialect integration tests using level zero runtime
Co-Authored-by: Artem Kroviakov <artem.kroviakov@intel.com>
Diffstat (limited to 'mlir/CMakeLists.txt')
| -rw-r--r-- | mlir/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt index a9414eb324d0..f58a4c6f506e 100644 --- a/mlir/CMakeLists.txt +++ b/mlir/CMakeLists.txt @@ -137,6 +137,14 @@ else() set(MLIR_ENABLE_ROCM_CONVERSIONS 0) endif() +# Build the XeVM conversions and run according tests if the SPIRV backend +# is available. +if ("SPIRV" IN_LIST LLVM_TARGETS_TO_BUILD) + set(MLIR_ENABLE_XEVM_CONVERSIONS 1) +else() + set(MLIR_ENABLE_XEVM_CONVERSIONS 0) +endif() + set(MLIR_ENABLE_CUDA_RUNNER 0 CACHE BOOL "Enable building the MLIR CUDA runner") set(MLIR_ENABLE_ROCM_RUNNER 0 CACHE BOOL "Enable building the MLIR ROCm runner") set(MLIR_ENABLE_SYCL_RUNNER 0 CACHE BOOL "Enable building the MLIR SYCL runner") |
