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

Function Wait

Src/Base/AMReX_AsyncOut.cpp:112–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void Wait ()
113{
114#ifdef AMREX_USE_MPI
115 const int N = s_info.ispot;
116 if (N > 0) {
117 Vector<MPI_Request> reqs(N);
118 Vector<MPI_Status> stats(N);
119 for (int i = 0; i < N; ++i) {
120 reqs[i] = ParallelDescriptor::Abarrier(s_comm).req();
121 }
122 ParallelDescriptor::Waitall(reqs, stats);
123 }
124#endif
125}
126
127void Notify ()
128{

Callers 3

AsyncWriteDoitMethod · 0.70
WaitRegionFunction · 0.50

Calls 3

AbarrierFunction · 0.85
WaitallFunction · 0.85
reqMethod · 0.80

Tested by 1

WaitRegionFunction · 0.40