Fix memory address bug in GPU PME coordinate address send fn
commitacbbcc1367fdb43e7404884e79882f01b296598b
authorAlan Gray <alangraygerrit@gmail.com>
Wed, 8 Jan 2020 16:37:17 +0000 (8 08:37 -0800)
committerArtem Zhmurov <zhmurov@gmail.com>
Thu, 9 Jan 2020 09:55:20 +0000 (9 10:55 +0100)
treedceea8f1b17c39276493b5e4165c869452b76e56
parent75443f0f3f822c3726763464f406ecc543ad700e
Fix memory address bug in GPU PME coordinate address send fn

Fixes bug introduced in 8f80571986c5ba98e4070ab390d372e81078cc3a,
which changed a pointer from rvec to float type, but didn't change the
corresponding array index used to get the pointer to send: an extra
multiplication by DIM is required.

Change-Id: Ia16e9988cb154895807a3c9f9588b1ffe59b3dcc
src/gromacs/ewald/pme_coordinate_receiver_gpu_impl.cu