[Mlir-commits] [mlir] [mlir][Target] Improve ROCDL gpu serialization API (PR #95456)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Jun 13 13:59:30 PDT 2024


================
@@ -123,17 +123,12 @@ add_mlir_dialect_library(MLIRROCDLTarget
   )
 
 if(MLIR_ENABLE_ROCM_CONVERSIONS)
-  if (NOT ("AMDGPU" IN_LIST LLVM_TARGETS_TO_BUILD))
-    message(SEND_ERROR
----------------
krzysz00 wrote:

Is this because there's a duplicate check? What happens if the AMDGPU backend isn't available?

https://github.com/llvm/llvm-project/pull/95456


More information about the Mlir-commits mailing list