Event-based Dependency for GPU Force Halo Exchange
[alexxy/gromacs.git] / src / gromacs / domdec / gpuhaloexchange_impl.cpp
index 7ea94ac6a4a068a781bc55a213e03d84493450f0..2511673218b3eac56b681e808c80da36989b17c6 100644 (file)
@@ -96,6 +96,14 @@ void GpuHaloExchange::communicateHaloForces(bool gmx_unused accumulateForces)
                "A CPU stub for GPU Halo Exchange was called insted of the correct implementation.");
 }
 
+/*!\brief get forces ready on device event stub. */
+GpuEventSynchronizer* GpuHaloExchange::getForcesReadyOnDeviceEvent()
+{
+    GMX_ASSERT(false,
+               "A CPU stub for GPU Halo Exchange was called insted of the correct implementation.");
+    return nullptr;
+}
+
 } // namespace gmx
 
 #endif /* GMX_GPU != GMX_GPU_CUDA */