biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use DeviceBuffer in GPU update and NBNXM code
[alexxy/gromacs.git]
/
src
/
gromacs
/
nbnxm
/
nbnxm.cpp
diff --git
a/src/gromacs/nbnxm/nbnxm.cpp
b/src/gromacs/nbnxm/nbnxm.cpp
index a8e919ea01bdc9ac1d72c126feccbf82b1e42a4c..196befc92d22488042b9dc4c7c6d35834f5d0379 100644
(file)
--- a/
src/gromacs/nbnxm/nbnxm.cpp
+++ b/
src/gromacs/nbnxm/nbnxm.cpp
@@
-213,7
+213,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);
}