[Mlir-commits] [mlir] [MLIR][Linalg] Introduce linalg.contract (PR #123618)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Jan 28 00:52:45 PST 2025


================
@@ -529,6 +529,103 @@ func.func @invalid_indexing_maps_placement_matmul(%lhs: tensor<4x1xf32>, %rhs: t
 
 // -----
 
+func.func @invalid_indexing_maps_placement_contraction(
+    %lhs: tensor<4x1xf32>, %rhs: tensor<1x64xf32>, %init: tensor<4x64xf32>) {
+  // expected-error @+2 {{custom op 'linalg.contract' expected 'indexing_maps' attribute}}
----------------
banach-space wrote:

IIUC, the problem here is the "location" of the indexing maps? Would it be possible to refine the error? It's a bit misleading given that the maps _are_ provided.

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


More information about the Mlir-commits mailing list