@@ -782,7 +782,7 @@ Allreduce(obj::T, op, comm::Comm) where {T} =
782
782
Scan!(sendbuf, recvbuf, op, comm::Comm)
783
783
Scan!(sendrecvbuf, op, comm::Comm)
784
784
785
- Inclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
785
+ Inclusive prefix reduction (analogous to `accumulate` in Julia): `recvbuf` on rank `i`
786
786
will contain the result of reducing `sendbuf` by `op` from ranks `0:i`.
787
787
788
788
If only a single buffer `sendrecvbuf` is provided, then operations will be performed
@@ -813,7 +813,7 @@ Scan!(buf, op, comm::Comm) =
813
813
"""
814
814
recvbuf = Scan(sendbuf, op, comm::Comm)
815
815
816
- Inclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
816
+ Inclusive prefix reduction (analogous to `accumulate` in Julia): `recvbuf` on rank `i`
817
817
will contain the result of reducing `sendbuf` by `op` from ranks `0:i`.
818
818
819
819
`sendbuf` can also be a scalar, in which case `recvbuf` will also be a scalar of the same
@@ -837,7 +837,7 @@ Scan(object::T, op, comm::Comm) where {T} = Scan!(Ref(object), Ref{T}(), op, com
837
837
Exscan!(sendbuf, recvbuf, op, comm::Comm)
838
838
Exscan!(sendrecvbuf, op, comm::Comm)
839
839
840
- Exclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
840
+ Exclusive prefix reduction (analogous to `accumulate` in Julia): `recvbuf` on rank `i`
841
841
will contain the result of reducing `sendbuf` by `op` from ranks `0:i-1`. The
842
842
`recvbuf` on rank `0` is ignored, and the `recvbuf` on rank `1` will contain the contents
843
843
of `sendbuf` on rank `0`.
@@ -869,7 +869,7 @@ Exscan!(buf, op, comm::Comm) = Exscan!(IN_PLACE, buf, op, comm)
869
869
"""
870
870
recvbuf = Exscan(sendbuf, op, comm::Comm)
871
871
872
- Exclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
872
+ Exclusive prefix reduction (analogous to `accumulate` in Julia): `recvbuf` on rank `i`
873
873
will contain the result of reducing `sendbuf` by `op` from ranks `0:i-1`. The
874
874
`recvbuf` on rank `0` is undefined, and the `recvbuf` on rank `1` will contain the contents
875
875
of `sendbuf` on rank `0`.
0 commit comments