Following binary arithmetic in previous commits, this patch adds unary
maths ops to linalg.
It also fixes a few of the previous tests, and makes the binary ops call
BinaryFn.<op> directly instead of relying on Python to recognise the
operation.
Paths
| Differential D154618
[MLIR][Linalg] Add unary named ops to linalg ClosedPublic Authored by rengolin on Jul 6 2023, 8:27 AM.
Details Summary Following binary arithmetic in previous commits, this patch adds unary It also fixes a few of the previous tests, and makes the binary ops call
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 7 2023, 2:20 AM Closed by commit rGfe129311d39b: [MLIR][Linalg] Add unary named ops to linalg (authored by rengolin). · Explain WhyJul 7 2023, 2:38 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537741 mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
mlir/test/Dialect/Linalg/generalize-named-ops.mlir
mlir/test/Dialect/Linalg/named-ops-fail.mlir
mlir/test/Dialect/Linalg/named-ops.mlir
|