OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Attributes | List of all members
AsyncSendBuffer Class Reference

#include <AsyncSendBuffers.h>

Public Member Functions

 AsyncSendBuffer (std::ostringstream &os)
 
 ~AsyncSendBuffer ()
 
bool hasCompleted ()
 
void send (int recv_rank, int size_tag, int data_tag, MPI_Comm comm)
 

Private Attributes

MPI_Request * size_req
 
MPI_Request * buffer_req
 
char * buffer
 
size_t buf_size
 

Detailed Description

Definition at line 28 of file AsyncSendBuffers.h.

Constructor & Destructor Documentation

◆ AsyncSendBuffer()

AsyncSendBuffer::AsyncSendBuffer ( std::ostringstream &  os)
inline

Definition at line 32 of file AsyncSendBuffers.h.

References buf_size, buffer, buffer_req, and size_req.

◆ ~AsyncSendBuffer()

AsyncSendBuffer::~AsyncSendBuffer ( )
inline

Definition at line 40 of file AsyncSendBuffers.h.

References buffer, buffer_req, and size_req.

Member Function Documentation

◆ hasCompleted()

bool AsyncSendBuffer::hasCompleted ( )
inline

Definition at line 46 of file AsyncSendBuffers.h.

References buffer_req.

Referenced by AsyncSendBuffers::cleanup().

◆ send()

void AsyncSendBuffer::send ( int  recv_rank,
int  size_tag,
int  data_tag,
MPI_Comm  comm 
)
inline

Definition at line 59 of file AsyncSendBuffers.h.

References buf_size, buffer, buffer_req, and size_req.

Member Data Documentation

◆ buf_size

size_t AsyncSendBuffer::buf_size
private

Definition at line 73 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), and send().

◆ buffer

char* AsyncSendBuffer::buffer
private

Definition at line 71 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), send(), and ~AsyncSendBuffer().

◆ buffer_req

MPI_Request* AsyncSendBuffer::buffer_req
private

Definition at line 70 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), hasCompleted(), send(), and ~AsyncSendBuffer().

◆ size_req

MPI_Request* AsyncSendBuffer::size_req
private

Definition at line 69 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), send(), and ~AsyncSendBuffer().


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