[Mlir-commits] [mlir] mlir::mesh::shardingOp adding shard-size control (PR #98145)
Boian Petkantchin
llvmlistbot at llvm.org
Tue Jul 9 18:55:34 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.
----------------
sogartar wrote:
Could you add more documentation?
https://github.com/llvm/llvm-project/pull/98145
More information about the Mlir-commits
mailing list