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
Make NBNXM force getter available in all backends
[alexxy/gromacs.git]
/
src
/
gromacs
/
nbnxm
/
cuda
/
nbnxm_cuda_data_mgmt.cu
diff --git
a/src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
b/src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
index 3477f2e19251e1ab49f0efae43f18c9b9df6057d..1db33caf3e0d093415d5908f36ea3a4919be79e7 100644
(file)
--- a/
src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
+++ b/
src/gromacs/nbnxm/cuda/nbnxm_cuda_data_mgmt.cu
@@
-116,13
+116,6
@@
void* gpu_get_xq(NbnxmGpu* nb)
return static_cast<void*>(nb->atdat->xq);
}
-DeviceBuffer<gmx::RVec> gpu_get_f(NbnxmGpu* nb)
-{
- assert(nb);
-
- return reinterpret_cast<DeviceBuffer<gmx::RVec>>(nb->atdat->f);
-}
-
DeviceBuffer<gmx::RVec> gpu_get_fshift(NbnxmGpu* nb)
{
assert(nb);