MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / Waitall

Function Waitall

Src/Base/AMReX_ParallelDescriptor.cpp:1097–1108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095}
1096
1097void
1098Waitall (Vector<MPI_Request>& reqs, Vector<MPI_Status>& status)
1099{
1100 BL_ASSERT(status.size() >= reqs.size());
1101
1102 BL_PROFILE_S("ParallelDescriptor::Waitall()");
1103 BL_COMM_PROFILE_WAITSOME(BLProfiler::Waitall, reqs, reqs.size(), status, true);
1104 BL_MPI_REQUIRE( MPI_Waitall(reqs.size(),
1105 reqs.dataPtr(),
1106 status.dataPtr()) );
1107 BL_COMM_PROFILE_WAITSOME(BLProfiler::Waitall, reqs, reqs.size(), status, false);
1108}
1109
1110void
1111Waitany (Vector<MPI_Request>& reqs, int &index, MPI_Status& status)

Callers 15

sumNeighborsMPIMethod · 0.85
getRcvCountsMPIMethod · 0.85
fillNeighborsMPIMethod · 0.85
buildMPIStartMethod · 0.85
buildMPIFinishMethod · 0.85
doHandShakeLocalMethod · 0.85
doHandShakeLocalFunction · 0.85
commBCoefsMethod · 0.85
WaitFunction · 0.85
NotifyFunction · 0.85

Calls 2

sizeMethod · 0.45
dataPtrMethod · 0.45

Tested by 1

WaitAllRegionFunction · 0.68