Move initiation of local CPU force H2D transfer to producer
authorAlan Gray <alangray3@gmail.com>
Wed, 27 Jan 2021 14:51:06 +0000 (06:51 -0800)
committerAlan Gray <alangray3@gmail.com>
Thu, 28 Jan 2021 16:18:12 +0000 (16:18 +0000)
commit92fb6cb066f8470f853e4920a8cd652ed144abec
tree4c7a3e5a21243a50f46cfe7f358415aa5191825e
parentf3d8d46e3e825a90033fa6a56e7dd17074021abc
Move initiation of local CPU force H2D transfer to producer

For GPU DD cases that include CPU force calculations, a host to device
transfer of local force data is required before the GPU halo
exchange. The initiation of the transfer was previously immediately
before the consumer (GPU halo exchange). This change moves the
initiation to immediately after the last possible producer (the
special force calculation, noting that the CPU force contributions can
also come from preceeding bonded or PME calculations).

Addresses #3082
src/gromacs/mdlib/sim_util.cpp