[Mlir-commits] [mlir] [mlir][amdgpu][docs] Add op examples to dialect docs (PR #146848)

Eric Feng llvmlistbot at llvm.org
Sun Jul 6 21:51:55 PDT 2025


================
@@ -810,6 +898,13 @@ def AMDGPU_MFMAOp :
 
     The negateA, negateB, and negateC flags are only supported for double-precision
     operations on gfx94x.
+
+    #### Example
+    ```mlir
+  %result = amdgpu.mfma %a * %b + %c 
+  { abid = 1 : i32, cbsz = 1 : i32, k = 1 : i32, m = 32 : i32, n = 32 : i32, blocks = 2 : i32 } 
----------------
efric wrote:

This is missing the `blgp` attribute.

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


More information about the Mlir-commits mailing list