* \param[in] isDomainDecomposition Whether there more than one domain.
* \param[in] useGpuForPme Whether GPUs will be used for PME interactions.
* \param[in] useGpuForNonbonded Whether GPUs will be used for nonbonded interactions.
+ * \param[in] gpuPmePpCommIsEnabled Whether GPU PME-PP communications are enabled in this run
+ * \param[in] gpuHaloExchangeIsEnabled Whether GPU halo exchange is enabled in this run
* \param[in] updateTarget User choice for running simulation on GPU.
* \param[in] gpusWereDetected Whether compatible GPUs were detected on any node.
* \param[in] inputrec The user input.
bool decideWhetherToUseGpuForUpdate(bool isDomainDecomposition,
bool useGpuForPme,
bool useGpuForNonbonded,
+ bool gpuPmePpCommIsEnabled,
+ bool gpuHaloExchangeIsEnabled,
TaskTarget updateTarget,
bool gpusWereDetected,
const t_inputrec& inputrec,