[Mlir-commits] [mlir] [mlir][linalg][nfc] Fix `linalg.matmul_transpose_a` def. (PR #97690)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu Jul 11 05:04:16 PDT 2024


================
@@ -1336,7 +1336,7 @@ structured_op: !LinalgStructuredOpConfig
     name: C
     kind: output_tensor
     type_var: U
-    shape_map: affine_map<()[s0, s1, s2] -> (s2, s1)>
+    shape_map: affine_map<()[s0, s1, s2] -> (s1, s2)>
----------------
ftynse wrote:

This can be tested by manually writing an instance of `linalg.matmul_tranpose_a` taking tensors of certain fixed size (says M=10,N=20,K=30) and making sure it passes the verifier. Without this change, it wouldn't because the dimension sizes wouldn't match.

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


More information about the Mlir-commits mailing list