Eliminate duplicate CPU->GPU copy of x
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 21 Apr 2021 17:48:04 +0000 (19:48 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Tue, 11 May 2021 07:18:01 +0000 (07:18 +0000)
commit6d002ec667c955c5137acdad74663bdbc1712f2f
tree9e71cf899075edcd7c9336d4a8ce942a2bb31426
parentbdd6710f2eb42594dcc4b885725b8e36362caebc
Eliminate duplicate CPU->GPU copy of x

x is copied to the GPU for buffer ops or PME as well as prior to GPU
update on search steps which leads to a duplicate copying which is
addressed in this change.

Fixes #4033
Refs #3988
src/gromacs/mdrun/md.cpp