#include "gmxpre.h"
+#include "gromacs/gpu_utils/device_context.h"
#include "gromacs/gpu_utils/gputraits.cuh"
#include "gromacs/math/functions.h"
#include "gromacs/math/invertmatrix.h"
* \param[in] mtop Topology of the system to gen the masses for O and H atoms and
* target O-H and H-H distances. These values are also checked for
* consistency.
+ * \param[in] deviceContext Device context (dummy in CUDA).
* \param[in] commandStream Device stream to use.
*/
- SettleGpu(const gmx_mtop_t& mtop, CommandStream commandStream);
+ SettleGpu(const gmx_mtop_t& mtop, const DeviceContext& deviceContext, CommandStream commandStream);
~SettleGpu();
void set(const InteractionDefinitions& idef, const t_mdatoms& md);
private:
+ //! Dummy GPU context object
+ const DeviceContext& deviceContext_;
//! GPU stream
CommandStream commandStream_;