Skip to content

Commit dcfec76

Browse files
authored
Test implicit in-place Allgatherv (#781)
1 parent a094e18 commit dcfec76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test_allgatherv.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ for T in MPITestTypes
2727
synchronize()
2828
MPI.Allgatherv!(MPI.IN_PLACE, VBuffer(B, counts), comm)
2929
@test B == ArrayType{T}(check)
30+
31+
# Test implicit MPI_IN_PLACE
32+
B = ArrayType(fill(T(rank), sum(counts)))
33+
synchronize()
34+
MPI.Allgatherv!(VBuffer(B, counts), comm)
35+
@test B == ArrayType{T}(check)
3036
end
3137

3238
MPI.Finalize()

0 commit comments

Comments
 (0)