OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
AsyncSendBuffer Class Reference

#include <AsyncSendBuffers.h>

Collaboration diagram for AsyncSendBuffer:

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 27 of file AsyncSendBuffers.h.

Constructor & Destructor Documentation

◆ AsyncSendBuffer()

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

Definition at line 31 of file AsyncSendBuffers.h.

References buf_size, buffer, buffer_req, and size_req.

◆ ~AsyncSendBuffer()

AsyncSendBuffer::~AsyncSendBuffer ( )
inline

Definition at line 39 of file AsyncSendBuffers.h.

References buffer, buffer_req, and size_req.

Member Function Documentation

◆ hasCompleted()

bool AsyncSendBuffer::hasCompleted ( )
inline

Definition at line 45 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 58 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 72 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), and send().

◆ buffer

char* AsyncSendBuffer::buffer
private

Definition at line 70 of file AsyncSendBuffers.h.

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

◆ buffer_req

MPI_Request* AsyncSendBuffer::buffer_req
private

Definition at line 69 of file AsyncSendBuffers.h.

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

◆ size_req

MPI_Request* AsyncSendBuffer::size_req
private

Definition at line 68 of file AsyncSendBuffers.h.

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


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