1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-12 20:27:06 +01:00

updated from cambridge mpi3 shakeout

This commit is contained in:
Peter Boyle
2017-08-25 11:41:01 +01:00
parent c3b1263e75
commit c289699d9a
3 changed files with 11 additions and 8 deletions

View File

@ -312,8 +312,11 @@ public:
std::vector<std::vector<CommsRequest_t> > reqs;
this->HaloExchangeOptGather(source,compress);
double t1=usecond();
this->CommunicateBegin(reqs);
this->CommunicateComplete(reqs);
// Asynchronous MPI calls multidirectional, Isend etc...
// this->CommunicateBegin(reqs);
// this->CommunicateComplete(reqs);
// Non-overlapped directions within a thread. Asynchronous calls except MPI3, threaded up to comm threads ways.
this->Communicate();
double t2=usecond(); timer1 += t2-t1;
this->CommsMerge(compress);
double t3=usecond(); timer2 += t3-t2;