[Mlir-commits] [mlir] [MLIR] Update convert-gpu-to-spirv pass to prepare using GPU compilat… (PR #69941)

Lei Zhang llvmlistbot at llvm.org
Fri Oct 27 16:11:14 PDT 2023


================
@@ -108,6 +147,31 @@ void GPUToSPIRVPass::runOnOperation() {
     if (failed(applyFullConversion(gpuModule, *target, std::move(patterns))))
       return signalPassFailure();
   }
+
+  // In case of OpenCL, gpu.func in original gpu.module needs to replaced with
----------------
antiagainst wrote:

For OpenCL, the gpu.func op in the original gpu.module op ...

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


More information about the Mlir-commits mailing list