Avoid unnecessary reinterpret_cast of coordinates buffer
authorArtem Zhmurov <zhmurov@gmail.com>
Fri, 6 Dec 2019 12:05:06 +0000 (13:05 +0100)
committerArtem Zhmurov <zhmurov@gmail.com>
Tue, 10 Dec 2019 15:41:23 +0000 (16:41 +0100)
commit8f80571986c5ba98e4070ab390d372e81078cc3a
tree30a3eea4e3a9bd8aa62de3068be6666db09f4eed
parenta96062c7ae0ce344f32bab57519113934332198e
Avoid unnecessary reinterpret_cast of coordinates buffer

The DeviceBuffer<float> is first casted to rvec* and than to void*.
This change eliminates first cast and passes the buffer directly.

Change-Id: I4381ce3a495ef728fd5be45aa3b65be580a6aa49
src/gromacs/ewald/pme_coordinate_receiver_gpu.h
src/gromacs/ewald/pme_coordinate_receiver_gpu_impl.cpp
src/gromacs/ewald/pme_coordinate_receiver_gpu_impl.cu
src/gromacs/ewald/pme_coordinate_receiver_gpu_impl.h
src/gromacs/ewald/pme_only.cpp