[Mlir-commits] [llvm] [mlir] [mlir] Replace MLIR_ENABLE_CUDA_CONVERSIONS with LLVM_HAS_NVPTX_TARGET (PR #93008)
    Oleksandr Alex Zinenko 
    llvmlistbot at llvm.org
       
    Fri May 24 02:56:58 PDT 2024
    
    
  
================
@@ -36,7 +36,8 @@ expand_template(
         "\"@MLIR_BINARY_DIR@\"": "os.environ[\"TEST_UNDECLARED_OUTPUTS_DIR\"]",
         # All disabled, but required to substituted because they are not in quotes.
         "@LLVM_BUILD_EXAMPLES@": "0",
-        "@MLIR_ENABLE_CUDA_CONVERSIONS@": "0",
+        # Initialized to empty string as this is already wrapped in quotes.
+        "@LLVM_HAS_NVPTX_TARGET@": "",
----------------
ftynse wrote:
Why this is an empty string and not zero?
https://github.com/llvm/llvm-project/pull/93008
    
    
More information about the Mlir-commits
mailing list