[Mlir-commits] [mlir] [mlir][linalg] Extend Linalg elemwise named ops semantics (PR #122753)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jan 20 15:08:58 PST 2025
================
@@ -15,6 +15,57 @@
include "mlir/IR/EnumAttr.td"
+// Define an `enum class : i32` to categorise element-wise op.
+def ElemwiseNAryCategory : I32EnumAttr<"ElemwiseNAryCategory", "", [
+ I32EnumAttrCase<"Unary", 0>,
----------------
MaheshRavishankar wrote:
Do we need separate enums here? Can we juse use the enum below to classify what is a unary/binary or ternary function? (I think this is a repeat comment from above)
https://github.com/llvm/llvm-project/pull/122753
More information about the Mlir-commits
mailing list