[Mlir-commits] [mlir] [mlir] Add inferContractionDims util for indexing map inputs (PR #76081)

lorenzo chelini llvmlistbot at llvm.org
Thu Dec 21 07:59:09 PST 2023


================
@@ -62,6 +62,8 @@ struct ContractionDimensions {
 /// `k`, indices are returned in sorted order.
 /// Returns a failure if any of `m`, `n` or `k` is empty.
 FailureOr<ContractionDimensions> inferContractionDims(LinalgOp linalgOp);
+FailureOr<ContractionDimensions>
----------------
chelini wrote:

Out of curiosity, why is this something useful? What use case do you have in mind?

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


More information about the Mlir-commits mailing list