[Mlir-commits] [mlir] [MLIR][XeGPU][TransformOps] Add set_gpu_launch_threads op (PR #166865)

Rolf Morel llvmlistbot at llvm.org
Fri Nov 7 07:24:49 PST 2025


================
@@ -78,4 +78,41 @@ def SetDescLayoutOp : Op<Transform_Dialect, "xegpu.set_desc_layout", [
   }];
 }
 
+def SetGPULaunchThreadsOp
+    : Op<Transform_Dialect, "xegpu.set_gpu_launch_threads", [
+      DeclareOpInterfaceMethods<MemoryEffectsOpInterface>,
+      TransformOpInterface
+    ]> {
+
+  let summary = "Set number of threads for a given gpu.launch operation";
+  let description = "Set number of threads for a given `gpu.launch` operation.";
----------------
rolfmorel wrote:

Nit: I think if the only useful thing to say in the description is a copy of the summary, the description can just go.

Might there be something more useful to say?

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


More information about the Mlir-commits mailing list