Eliminate spurious GPU->CPU copy
authorSzilárd Páll <pall.szilard@gmail.com>
Tue, 15 Oct 2019 22:44:59 +0000 (00:44 +0200)
committerBerk Hess <hess@kth.se>
Thu, 17 Oct 2019 13:57:27 +0000 (15:57 +0200)
commit4bc2605def86b84fc8c2e8f323cdad5847f312c7
treed4d33c766bbbbb95d43d8836d4e7c9813a753d75
parentb1c5d88ac4369d1df0ac79043b5b0e508930f5e9
Eliminate spurious GPU->CPU copy

When GPU direct communication-based halo exchange is used, non-local
forces should not be copied back to the CPU prior to halo exchange.
This commit removes the incorrectly unconditional leftover copy.

Fixes/Improves #2890
Refs #3156
Change-Id: I25e521204f30da1e257232e9117c3fe4f0a83b08
src/gromacs/mdlib/sim_util.cpp