Convert PmeGpu->kernelParams->atoms.d_forces to RVec
authorAndrey Alekseenko <al42and@gmail.com>
Wed, 10 Mar 2021 10:37:52 +0000 (13:37 +0300)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 10 Mar 2021 13:42:51 +0000 (13:42 +0000)
commitf5ae476deec4a02ff5a49e055de4733af030cd18
tree1ee0b110ce775e240b1a3077f27016f6b0997362
parent556f83fe2b7d246ab8dcce41a06323a7a203da14
Convert PmeGpu->kernelParams->atoms.d_forces to RVec

In most other places, forces are in RVec format, while it was float
here. While it is used as float in gather kernels, it is more consistent
to keep the buffer type as RVec.

This change is preparation for adding a SYCL implementation of GPU
update (Issue #3932).
src/gromacs/ewald/pme_gather.cu
src/gromacs/ewald/pme_gpu_internal.cpp
src/gromacs/ewald/pme_gpu_types.h