Move the ownership of the xUpdatedOnDevice event to update constraints
[alexxy/gromacs.git] / src / gromacs / mdlib / update_constrain_gpu_impl_stubs.cpp
index 0ec9102a80fce6458f467af6dd319e60bdca8686..3eb3030baa5cfb5d6d619931eea8096b8b4f884f 100644 (file)
@@ -61,7 +61,6 @@ UpdateConstrainGpu::UpdateConstrainGpu(const t_inputrec& /* ir   */,
                                        const int /* numTempScaleValues */,
                                        const DeviceContext& /* deviceContext */,
                                        const DeviceStream& /* deviceStream */,
-                                       GpuEventSynchronizer* /* xUpdatedOnDevice */,
                                        gmx_wallcycle* /*wcycle*/) :
     impl_(nullptr)
 {
@@ -114,7 +113,7 @@ void UpdateConstrainGpu::setPbc(const PbcType /* pbcType */, const matrix /* box
                "A CPU stub for UpdateConstrain was called instead of the correct implementation.");
 }
 
-GpuEventSynchronizer* UpdateConstrainGpu::getCoordinatesReadySync()
+GpuEventSynchronizer* UpdateConstrainGpu::xUpdatedOnDeviceEvent()
 {
     GMX_ASSERT(!impl_,
                "A CPU stub for UpdateConstrain was called instead of the correct implementation.");