Skip to content
Snippets Groups Projects
Commit ce325cd4 authored by Martin Schönherr's avatar Martin Schönherr
Browse files

added explicit mpi barrier for generating multiple grids in parallel

parent 512b3166
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,10 @@ void Communicator::barrierGPU()
//printf("\n End Waitall \n");
//fflush(stdout);
}
void Communicator::barrier()
{
MPI_Barrier(commGPU);
}
//////////////////////////////////////////////////////////////////////////
void Communicator::exchngDataGeo( int* sbuf_t, int* rbuf_t, int* sbuf_b, int* rbuf_b, int count )
......
......@@ -45,6 +45,7 @@ public:
void waitGPU(int id);
void resetRequest();
void barrierGPU();
void barrier();
//////////////////////////////////////////////////////////////////////////
void exchngDataGeo(int* sbuf_t, int* rbuf_t, int* sbuf_b, int* rbuf_b, int count);
MPI_Comm getCommunicator();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment