[Mlir-commits] [mlir] [mlir][gpu] Make launch_func op use SymbolUserOpInterface (PR #173277)

lonely eagle llvmlistbot at llvm.org
Mon Dec 22 09:02:06 PST 2025


================
@@ -137,14 +137,14 @@ module attributes {gpu.container_module} {
 // -----
 
 module attributes {gpu.container_module} {
-  module @kernels {
+  gpu.module @kernels_container {
     gpu.func @kernel_1(%arg1 : !llvm.ptr) kernel {
       gpu.return
     }
   }
 
   func.func @launch_func_missing_kernel_attr(%sz : index, %arg : !llvm.ptr) {
-    // expected-error at +1 {{kernel module 'kernels' is undefined}}
+    // expected-error at +1 {{kernel container 'kernels' is undefined}}
----------------
linuxlonelyeagle wrote:

Nevertheless, it all seems correct to me. It is indeed reflecting the error in the IR.

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


More information about the Mlir-commits mailing list