Add D2H copies for the checkpointing
authorArtem Zhmurov <zhmurov@gmail.com>
Wed, 30 Oct 2019 10:15:04 +0000 (11:15 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 20 Nov 2019 18:42:25 +0000 (19:42 +0100)
commita0c0503d2b7ea416926ddc227420d38f6b6cf616
tree5c9cda295c90d5787f8d019ed3853d21cef2ea04
parent4d121e0ec47d07f01afefd99574162a3868d693c
Add D2H copies for the checkpointing

If the update is offloaded, the current coordinates and velocities
are stored on the device and have to be copied for the checkpointing.

Change-Id: I391bb83e1c70a17c1679f479234a157ce606a908
src/gromacs/mdrun/md.cpp