Removing code duplications in StatePropagatorDataGpu
authorArtem Zhmurov <zhmurov@gmail.com>
Thu, 14 Nov 2019 16:50:29 +0000 (17:50 +0100)
committerArtem Zhmurov <zhmurov@gmail.com>
Fri, 15 Nov 2019 09:39:07 +0000 (10:39 +0100)
commita2de1f5105b4608fdfe8e605d62b7bacd507f684
tree75082b29591f28e1141076a95646a5debcd724b4
parent1a766ea9de4f6202158f0b1a666f13c4ae0383c5
Removing code duplications in StatePropagatorDataGpu

The assertions on the correct locality and existence of the
CommandStream are moved into the general copy functions, instead
of duplications in each specific case.

Change-Id: I2a239ca8e32538356b544918ed8545229d7935f3
src/gromacs/mdtypes/state_propagator_data_gpu_impl_gpu.cpp