Remove StatePropagatorDataGpu::getVelocitiesReadyOnDeviceEvent
authorAndrey Alekseenko <al42and@gmail.com>
Tue, 3 Aug 2021 07:01:34 +0000 (07:01 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 3 Aug 2021 07:01:34 +0000 (07:01 +0000)
commitb9e7735881e25504000f955006c1857013d03749
tree8d598e6c4564314edcaebd6e08e611b069e2d4f0
parent9e11ac5fe8de1ab0a13e6caa06b2a9d3e61edd80
Remove StatePropagatorDataGpu::getVelocitiesReadyOnDeviceEvent

It was unused, since we were using the copied data only in the stream in
which we did the copy. So, the synchronization was performed implicitly,
with no need to wait for the event.

Also added a comment about a rare redundant copy.

Refs #3988
src/gromacs/mdrun/md.cpp
src/gromacs/mdtypes/state_propagator_data_gpu.h
src/gromacs/mdtypes/state_propagator_data_gpu_impl.cpp
src/gromacs/mdtypes/state_propagator_data_gpu_impl.h
src/gromacs/mdtypes/state_propagator_data_gpu_impl_gpu.cpp