Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::PmeForceSenderGpu Class Reference

#include <gromacs/ewald/pme_force_sender_gpu.h>

Description

Manages sending forces from PME-only ranks to their PP ranks.

Public Member Functions

 PmeForceSenderGpu (void *pmeStream, MPI_Comm comm, gmx::ArrayRef< PpRanks > ppRanks)
 Creates PME GPU Force sender object. More...
 
void sendForceBufferAddressToPpRanks (rvec *d_f)
 Initialization of GPU PME Force sender. More...
 
void sendFToPpCudaDirect (int ppRank)
 Send PP data to PP rank. More...
 

Constructor & Destructor Documentation

gmx::PmeForceSenderGpu::PmeForceSenderGpu ( void *  pmeStream,
MPI_Comm  comm,
gmx::ArrayRef< PpRanks ppRanks 
)

Creates PME GPU Force sender object.

Parameters
[in]pmeStreamCUDA stream used for PME computations
[in]commCommunicator used for simulation
[in]ppRanksList of PP ranks

Member Function Documentation

void gmx::PmeForceSenderGpu::sendForceBufferAddressToPpRanks ( rvec *  d_f)

Initialization of GPU PME Force sender.

Parameters
[in]d_fforce buffer in GPU memory
void gmx::PmeForceSenderGpu::sendFToPpCudaDirect ( int  ppRank)

Send PP data to PP rank.

Parameters
[in]ppRankPP rank to receive data

The documentation for this class was generated from the following file: