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

Chengji Yao llvmlistbot at llvm.org
Sun Nov 12 22:37:59 PST 2023


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

```suggestion
  SmallVector<int64_t> result;
  result.reserve(getRank());
```

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


More information about the Mlir-commits mailing list