/*! \brief
- * launch receive of coordinate data from PP rank
- * \param[in] ppRank PP rank to send data
+ * Receive coordinate synchronizer pointer from the PP ranks.
+ * \param[in] ppRank PP rank to receive the synchronizer from.
*/
- void launchReceiveCoordinatesFromPpCudaDirect(int ppRank);
+ void receiveCoordinatesSynchronizerFromPpCudaDirect(int ppRank);
/*! \brief
* enqueue wait for coordinate data from PP ranks
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
"correct implementation.");
}
-void PmeCoordinateReceiverGpu::launchReceiveCoordinatesFromPpCudaDirect(int /* ppRank */)
+void PmeCoordinateReceiverGpu::receiveCoordinatesSynchronizerFromPpCudaDirect(int /* ppRank */)
{
GMX_ASSERT(!impl_,
"A CPU stub for PME-PP GPU communication was called instead of the correct "
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
}
}
-/*! \brief Receive coordinate data directly using CUDA memory copy */
-void PmeCoordinateReceiverGpu::Impl::launchReceiveCoordinatesFromPpCudaDirect(int ppRank)
+/*! \brief Receive coordinate synchronizer pointer from the PP ranks. */
+void PmeCoordinateReceiverGpu::Impl::receiveCoordinatesSynchronizerFromPpCudaDirect(int ppRank)
{
// Data will be pushed directly from PP task
impl_->sendCoordinateBufferAddressToPpRanks(d_x);
}
-void PmeCoordinateReceiverGpu::launchReceiveCoordinatesFromPpCudaDirect(int ppRank)
+void PmeCoordinateReceiverGpu::receiveCoordinatesSynchronizerFromPpCudaDirect(int ppRank)
{
- impl_->launchReceiveCoordinatesFromPpCudaDirect(ppRank);
+ impl_->receiveCoordinatesSynchronizerFromPpCudaDirect(ppRank);
}
void PmeCoordinateReceiverGpu::enqueueWaitReceiveCoordinatesFromPpCudaDirect()
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
void sendCoordinateBufferAddressToPpRanks(DeviceBuffer<RVec> d_x);
/*! \brief
- * launch receive of coordinate data from PP rank
- * \param[in] ppRank PP rank to send data
+ * Receive coordinate synchronizer pointer from the PP ranks.
+ * \param[in] ppRank PP rank to receive the synchronizer from.
*/
- void launchReceiveCoordinatesFromPpCudaDirect(int ppRank);
+ void receiveCoordinatesSynchronizerFromPpCudaDirect(int ppRank);
/*! \brief
* enqueue wait for coordinate data from PP ranks
{
if (pme_pp->useGpuDirectComm)
{
- pme_pp->pmeCoordinateReceiverGpu->launchReceiveCoordinatesFromPpCudaDirect(
+ pme_pp->pmeCoordinateReceiverGpu->receiveCoordinatesSynchronizerFromPpCudaDirect(
sender.rankId);
}
else