[Mlir-commits] [mlir] [MLIR] Enable GPU Dialect to SYCL runtime integration (PR #71430)
Fabian Mora
llvmlistbot at llvm.org
Fri Nov 10 07:09:38 PST 2023
================
@@ -61,6 +63,7 @@ registerAllGPUToLLVMIRTranslations(DialectRegistry ®istry) {
registerLLVMDialectTranslation(registry);
registerNVVMDialectTranslation(registry);
registerROCDLDialectTranslation(registry);
+ registerSPIRVDialectTranslation(registry);
----------------
fabianmcg wrote:
Adding a full translation library for LLVM to SPIRV is not required, strictly speaking the only required change is adding here a call to `registry.insert<spirv::SPIRVDialect>();`, so that `mlir-translate` is able to load the dialect at parsing. @joker-eph thoughts on a library vs inlining the call?
https://github.com/llvm/llvm-project/pull/71430
More information about the Mlir-commits
mailing list