Disable GPU update when coordinates swapping is enabled
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 28 Oct 2019 15:29:13 +0000 (16:29 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 29 Oct 2019 18:13:05 +0000 (19:13 +0100)
commitc67cf55b9c7a7b8ad645590592f986951cceb212
tree3965967143de09445c64b2aa1ff965d701e596b7
parent23853cc7fae37eecdfafef1381c479ee1d4527a2
Disable GPU update when coordinates swapping is enabled

The coordinates swap is done on the CPU, which would require
additional D2H and H2D copies if the update is offloaded.

Change-Id: I27574fd6b9a3e653b44053dc8bf3f9a8a9501ed2
src/gromacs/taskassignment/decidegpuusage.cpp