[Mlir-commits] [mlir] [mlir] Add a MappableContainer trait. (PR #99493)
Mehdi Amini
llvmlistbot at llvm.org
Thu Jul 18 07:26:35 PDT 2024
================
@@ -39,6 +39,11 @@ struct IntegerTypeStorage;
struct TupleTypeStorage;
} // namespace detail
+/// Type trait indicating that the type can be an operand to an elementwise op.
----------------
joker-eph wrote:
Memref are more than pointers: they have a shape, which means you can actually iterate all the elements inside a memref. This makes it a candidate for a "map" function I believe (I understand this isn't what you want, which is why I'm picking on the name).
I think @jpienaar proposed something for this?
https://github.com/llvm/llvm-project/pull/99493
More information about the Mlir-commits
mailing list