[flang-commits] [compiler-rt] [lld] [libcxx] [clang-tools-extra] [clang] [llvm] [libc] [lldb] [mlir] [flang] [MLIR] Enable GPU Dialect to SYCL runtime integration (PR #71430)

Fabian Mora via flang-commits flang-commits at lists.llvm.org
Mon Nov 20 06:53:47 PST 2023


================
@@ -61,6 +63,7 @@ registerAllGPUToLLVMIRTranslations(DialectRegistry &registry) {
   registerLLVMDialectTranslation(registry);
   registerNVVMDialectTranslation(registry);
   registerROCDLDialectTranslation(registry);
+  registerSPIRVDialectTranslation(registry);
----------------
fabianmcg wrote:

@silee2 can you add a test [here](https://github.com/llvm/llvm-project/blob/main/mlir/test/Target/LLVMIR/gpu.mlir#L46-L49) using the GPU SPIR-V target attribute?

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


More information about the flang-commits mailing list