baseForce_ = baseForcePtr;
numAtoms_ = numAtoms;
atomStart_ = atomStart;
- accumulate_ = static_cast<int>(accumulate);
+ accumulate_ = accumulate;
completionMarker_ = completionMarker;
cellInfo_.cell = cell.data();
rvecForceToAdd_ = forcePtr;
};
-void GpuForceReduction::Impl::addDependency(GpuEventSynchronizer* const dependency)
+void GpuForceReduction::Impl::addDependency(GpuEventSynchronizer* dependency)
{
dependencyList_.push_back(dependency);
}
wallcycle_stop(wcycle_, WallCycleCounter::LaunchGpu);
}
-GpuForceReduction::Impl::~Impl() = default;
-
GpuForceReduction::GpuForceReduction(const DeviceContext& deviceContext,
const DeviceStream& deviceStream,
gmx_wallcycle* wcycle) :
impl_->registerRvecForce(forcePtr);
}
-void GpuForceReduction::addDependency(GpuEventSynchronizer* const dependency)
+void GpuForceReduction::addDependency(GpuEventSynchronizer* dependency)
{
impl_->addDependency(dependency);
}