Remove extra device force getter from NBNXM
[alexxy/gromacs.git] / src / gromacs / nbnxm / nbnxm_gpu.h
index 74e2f07d516ab9964a8e8b91c02adc54c364dfa5..1cf920d35cf85eb08856387a64073e775820e4cf 100644 (file)
@@ -306,14 +306,5 @@ GPU_FUNC_QUALIFIER
 bool haveGpuShortRangeWork(const NbnxmGpu gmx_unused* nb, gmx::InteractionLocality gmx_unused interactionLocality)
         GPU_FUNC_TERM_WITH_RETURN(false);
 
-/*! \brief Get the pointer to the GPU nonbonded force buffer
- *
- * \param[in] nb  The nonbonded data GPU structure
- * \returns       A pointer to the force buffer in GPU memory
- */
-GPU_FUNC_QUALIFIER
-DeviceBuffer<gmx::RVec> getGpuForces(NbnxmGpu gmx_unused* nb)
-        GPU_FUNC_TERM_WITH_RETURN(DeviceBuffer<gmx::RVec>{});
-
 } // namespace Nbnxm
 #endif