Skip to content

Commit

Permalink
Test implicit in-place Allgatherv (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt authored Nov 3, 2023
1 parent a094e18 commit dcfec76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_allgatherv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ for T in MPITestTypes
synchronize()
MPI.Allgatherv!(MPI.IN_PLACE, VBuffer(B, counts), comm)
@test B == ArrayType{T}(check)

# Test implicit MPI_IN_PLACE
B = ArrayType(fill(T(rank), sum(counts)))
synchronize()
MPI.Allgatherv!(VBuffer(B, counts), comm)
@test B == ArrayType{T}(check)
end

MPI.Finalize()
Expand Down

0 comments on commit dcfec76

Please sign in to comment.