Wrap more device pointers in DeviceBuffer
[alexxy/gromacs.git] / src / gromacs / nbnxm / nbnxm.cpp
index 96714bb15454d7397a23e8f0fd4acd0b4640aaa6..c96291a1c2d99aa5ba7e0d71499c27c7a3373f3f 100644 (file)
@@ -215,7 +215,7 @@ int nonbonded_verlet_t::getNumAtoms(const gmx::AtomLocality locality) const
     return numAtoms;
 }
 
-void* nonbonded_verlet_t::getGpuForces() const
+DeviceBuffer<gmx::RVec> nonbonded_verlet_t::getGpuForces() const
 {
     return Nbnxm::getGpuForces(gpu_nbv);
 }