[Mlir-commits] [mlir] [mlir][mesh] Add collective communication operations (PR #71960)

Mehdi Amini llvmlistbot at llvm.org
Mon Nov 13 05:41:00 PST 2023


================
@@ -96,6 +166,12 @@ LogicalResult ClusterOp::verify() {
   return success();
 }
 
+SmallVector<int64_t> ClusterOp::canonicalDimSizes() {
+  SmallVector<int64_t> result;
+  canonicalDimSizes(std::back_inserter(result));
----------------
joker-eph wrote:

back_inserter exists "forever" I believe. C++20 made it constexpr.

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


More information about the Mlir-commits mailing list