biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Insert barrier after each GPU halo test
[alexxy/gromacs.git]
/
src
/
gromacs
/
domdec
/
tests
/
haloexchange_mpi.cpp
diff --git
a/src/gromacs/domdec/tests/haloexchange_mpi.cpp
b/src/gromacs/domdec/tests/haloexchange_mpi.cpp
index 63659998efe79bd3fb26e9ea20cf628a09623584..45b8364f8087a5a81373f9748ceb95d53baa446e 100644
(file)
--- a/
src/gromacs/domdec/tests/haloexchange_mpi.cpp
+++ b/
src/gromacs/domdec/tests/haloexchange_mpi.cpp
@@
-164,6
+164,7
@@
void gpuHalo(gmx_domdec_t* dd, matrix box, HostVector<RVec>* h_x, int numAtomsTo
gpuHaloExchange[d][pulse].communicateHaloCoordinates(box, &coordinatesReadyOnDeviceEvent);
}
}
+ MPI_Barrier(MPI_COMM_WORLD);
GpuEventSynchronizer haloCompletedEvent;
haloCompletedEvent.markEvent(deviceStream);