gmx_membed_t *membed,
gmx_walltime_accounting *walltime_accounting,
std::unique_ptr<StopHandlerBuilder> stopHandlerBuilder,
- bool doRerun) :
+ bool doRerun,
+ bool useGpuForUpdate) :
fplog(fplog),
cr(cr),
ms(ms),
membed(membed),
walltime_accounting(walltime_accounting),
stopHandlerBuilder(std::move(stopHandlerBuilder)),
- doRerun(doRerun)
+ doRerun(doRerun),
+ useGpuForUpdate(useGpuForUpdate)
{}
protected:
std::unique_ptr<StopHandlerBuilder> stopHandlerBuilder;
//! Whether we're doing a rerun.
bool doRerun;
+ //! Whether we will use the GPU for calculating the update.
+ bool useGpuForUpdate;
};