[Mlir-commits] [mlir] mlir::mesh::shardingOp adding shard-size control (PR #98145)
Frank Schlimbach
llvmlistbot at llvm.org
Wed Jul 10 02:25:51 PDT 2024
================
@@ -879,4 +1055,29 @@ def Mesh_ShiftOp : Mesh_CollectiveCommunicationOpBase<"shift", [
let hasCanonicalizer = 1;
}
+def Mesh_UpdateHaloOp : Mesh_CollectiveCommunicationOpBase<"update_halo", [
+ AllShapesMatch<["input", "result"]>,
+ AllElementTypesMatch<["input", "result"]>
+ ]> {
+ let summary = "Update halo data.";
+ let description = [{
+ Assume all devices hold a tensors with same-sized halo data.
+ Optionally resize to new halo sizes.
----------------
fschlimb wrote:
Done.
https://github.com/llvm/llvm-project/pull/98145
More information about the Mlir-commits
mailing list