Skip to content

Commit 8b54bd9

Browse files
committed
clarifying doc for update_halo
1 parent ba06ef2 commit 8b54bd9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mlir/include/mlir/Dialect/Mesh/IR/MeshOps.td

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,9 @@ def Mesh_UpdateHaloOp : Mesh_CollectiveCommunicationOpBase<"update_halo", [
10651065
Assumes all devices hold tensors with same-sized halo data as specified
10661066
by `dynamic/static_halo_sizes`.
10671067

1068-
`mesh_axes` specifies the tensor axes along which the halo data is updated.
1069-
Currently each tensor dim can be sharded along a single mesh axis only.
1068+
`mesh_axes` specifies for each tensor axis along which mesh axis its halo
1069+
data is updated. Currently each tensor dim can be sharded along a single
1070+
mesh axis only.
10701071

10711072
Optionally resizes to new halo sizes `target_halo_sizes`.
10721073
}];

0 commit comments

Comments
 (0)