launchGpuKernel(kernelFn, config, nullptr, "Domdec GPU Apply F Halo Exchange", kernelArgs);
}
+ fReadyOnDevice_.markEvent(nonLocalStream_);
}
#endif
}
+GpuEventSynchronizer* GpuHaloExchange::Impl::getForcesReadyOnDeviceEvent()
+{
+ return &fReadyOnDevice_;
+}
+
/*! \brief Create Domdec GPU object */
GpuHaloExchange::Impl::Impl(gmx_domdec_t* dd, MPI_Comm mpi_comm_mysim, void* localStream, void* nonLocalStream) :
dd_(dd),
impl_->communicateHaloForces(accumulateForces);
}
+GpuEventSynchronizer* GpuHaloExchange::getForcesReadyOnDeviceEvent()
+{
+ return impl_->getForcesReadyOnDeviceEvent();
+}
} // namespace gmx