Wrap more device pointers in DeviceBuffer
[alexxy/gromacs.git] / src / gromacs / ewald / pme_gpu_types.h
index abf7a17ed002900ab17583d96f7256565b656ebb..e2c067390ad2c82f28d514e1951ba00d0a3595d9 100644 (file)
@@ -171,7 +171,7 @@ struct PmeGpuAtomParams
      * The forces change and need to be copied from (and possibly to) the GPU for every PME
      * computation, but reallocation happens only at DD.
      */
-    HIDE_FROM_OPENCL_COMPILER(DeviceBuffer<float>) d_forces;
+    HIDE_FROM_OPENCL_COMPILER(DeviceBuffer<gmx::RVec>) d_forces;
     /*! \brief Global GPU memory array handle with ivec atom gridline indices.
      * Computed on GPU in the spline calculation part.
      */