From dcfec762a835e73d234eac212862114d5b6904dc Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Fri, 3 Nov 2023 15:43:53 -0400 Subject: [PATCH] Test implicit in-place Allgatherv (#781) --- test/test_allgatherv.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_allgatherv.jl b/test/test_allgatherv.jl index 517a9a34c..d78e2b4ab 100644 --- a/test/test_allgatherv.jl +++ b/test/test_allgatherv.jl @@ -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()