[Mlir-commits] [mlir] [mlir][linalg] Extend Linalg elemwise named ops semantics (PR #122753)

Adam Siemieniuk llvmlistbot at llvm.org
Wed Jan 15 10:18:33 PST 2025


adam-smnk wrote:

> Would something like math_op or body_op be clearer (or even op)?

To me, they all (together with `func_type` ) sound arbitrary.
`kind` is another option that seems somewhat popular like in `vector.contract`.

Nothing better comes to my mind but I wouldn't mind if we could align the attr name with something already existing in the wild. Maybe even sth from PyTorch or IREE? Such that most people could recognize it more intuitively.

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


More information about the Mlir-commits mailing list