[all-commits] [llvm/llvm-project] 8c8336: Add missing `linalg.batch_vecmat` named op (#70218)

bjacob via All-commits all-commits at lists.llvm.org
Wed Oct 25 08:41:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c8336fcadac9ca24d50c635d25562b805e1ff1d
      https://github.com/llvm/llvm-project/commit/8c8336fcadac9ca24d50c635d25562b805e1ff1d
  Author: bjacob <jacob.benoit.1 at gmail.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
    M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
    M mlir/test/Dialect/Linalg/generalize-named-ops.mlir

  Log Message:
  -----------
  Add missing `linalg.batch_vecmat` named op (#70218)

Linalg currently has these named ops:
* `matmul`
* `matvec`
* `vecmat`
* `batch_matmul`
* `batch_matvec`

But it does not have:
* `batch_vecmat`

This PRs adds that for consistency, and I have a short-term need for it
( https://github.com/openxla/iree/issues/15158 ), so not having this
would cause some contortion on my end.




More information about the All-commits mailing list