diff options
author | tyb0807 <sontuan.vu119@gmail.com> | 2024-05-24 17:31:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-24 17:31:28 +0200 |
commit | 8178a3ad1b16e3c06e3bb8d91a8412bf329be3e0 (patch) | |
tree | b39e81fcff00011cf35325c63f7c1e8c6d4f6897 /mlir/test/CMakeLists.txt | |
parent | 4ebe9bba59389b0788ca01ec3f4bd2cb7f567a17 (diff) | |
download | llvm-8178a3ad1b16e3c06e3bb8d91a8412bf329be3e0.zip llvm-8178a3ad1b16e3c06e3bb8d91a8412bf329be3e0.tar.gz llvm-8178a3ad1b16e3c06e3bb8d91a8412bf329be3e0.tar.bz2 |
[mlir] Replace MLIR_ENABLE_CUDA_CONVERSIONS with LLVM_HAS_NVPTX_TARGET (#93008)
LLVM_HAS_NVPTX_TARGET is automatically set depending on whether NVPTX
was enabled when building LLVM. Use this instead of manually defining
MLIR_ENABLE_CUDA_CONVERSIONS (whose name is a bit misleading btw).
Diffstat (limited to 'mlir/test/CMakeLists.txt')
-rw-r--r-- | mlir/test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt index 8806a1d..be0b26e 100644 --- a/mlir/test/CMakeLists.txt +++ b/mlir/test/CMakeLists.txt @@ -67,8 +67,8 @@ endif() llvm_canonicalize_cmake_booleans( LLVM_BUILD_EXAMPLES + LLVM_HAS_NVPTX_TARGET MLIR_ENABLE_BINDINGS_PYTHON - MLIR_ENABLE_CUDA_CONVERSIONS MLIR_ENABLE_CUDA_RUNNER MLIR_ENABLE_ROCM_CONVERSIONS MLIR_ENABLE_ROCM_RUNNER |