Bug fix for nonlocal D2H coordinate transfer synchronization
authorAlan Gray <alangraygerrit@gmail.com>
Tue, 26 Nov 2019 10:12:02 +0000 (02:12 -0800)
committerArtem Zhmurov <zhmurov@gmail.com>
Tue, 26 Nov 2019 12:46:51 +0000 (13:46 +0100)
commit422429f5cdd3ea0fa14d7e5466ba10a16d8e9653
treee38fbf3643874ae425d0018c419923f8a65640fe
parentc22bafa6bb4ecd3792c1a7c76bb70d8b65eaed02
Bug fix for nonlocal D2H coordinate transfer synchronization

Fixes bug introduced in I2e2ba1b6436f087d1f2fef4ff876445814a724e7,
which replaced the NB-module D2H nonlocal coordinate copy launch with
a new State Propagator module equivalent, but did not change the
corresponding event wait call, such that the dependency was not
satisfied. This change replaces the NB event wait with the correct
State Propagator event wait.

Change-Id: I7c812974c145d315fa6516b2bbea39164439728e
src/gromacs/mdlib/sim_util.cpp
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu
src/gromacs/nbnxm/nbnxm.cpp
src/gromacs/nbnxm/nbnxm.h
src/gromacs/nbnxm/nbnxm_gpu.h