Tweak the bonded GPU energy copy/wait operations
authorSzilárd Páll <pall.szilard@gmail.com>
Mon, 10 Dec 2018 00:09:13 +0000 (01:09 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 11 Dec 2018 08:57:38 +0000 (09:57 +0100)
commitda0471447a8c8ee99d4034c13dc7e59cfd0d5607
tree966c1920292b5d2d5657c320d108b6841911e0e0
parenta4ce3b95d9a223e0b5a10280b898ebcb4ed45363
Tweak the bonded GPU energy copy/wait operations

Move the launch of device to host copy earlier and add wait cycle
counter around the operation that may block and lead to time spent
waiting rather than just a launch.

Change-Id: I241001fc0b60a8ae994f173bc3b38f0c4bbd8fff
src/gromacs/mdlib/sim_util.cpp
src/gromacs/timing/wallcycle.cpp
src/gromacs/timing/wallcycle.h