#include "gromacs/gpu_utils/hostallocator.h"
#include "gromacs/utility/gmxmpi.h"
+struct gmx_wallcycle;
+
namespace gmx
{
* \param [in] localStream local NB CUDA stream
* \param [in] nonLocalStream non-local NB CUDA stream
* \param [in] pulse the communication pulse for this instance
+ * \param [in] wcycle The wallclock counter
*/
Impl(gmx_domdec_t* dd,
MPI_Comm mpi_comm_mysim,
const DeviceContext& deviceContext,
const DeviceStream& localStream,
const DeviceStream& nonLocalStream,
- int pulse);
+ int pulse,
+ gmx_wallcycle* wcycle);
~Impl();
/*! \brief
int pulse_ = 0;
//! Number of zones. Always 1 for 1-D case.
const int nzone_ = 1;
+ //! The wallclock counter
+ gmx_wallcycle* wcycle_ = nullptr;
};
} // namespace gmx