#include <ampiimpl.h>
Public Member Functions | |
AmpiRequestList () noexcept | |
AmpiRequestList (int size, AmpiRequestPool *reqPoolPtr) noexcept | |
~AmpiRequestList () noexcept | |
AmpiRequest * | operator[] (int n) noexcept |
void | free (AmpiRequestPool &reqPool, int idx, CkDDT *ddt) noexcept |
void | freeNonPersReq (int &idx) noexcept |
int | insert (AmpiRequest *req) noexcept |
void | checkRequest (MPI_Request idx) const noexcept |
void | unblockReqs (MPI_Request *requests, int numReqs) noexcept |
void | pup (PUP::er &p, AmpiRequestPool *reqPool) noexcept |
void | print () const noexcept |
Private Attributes | |
vector< AmpiRequest * > | reqs |
int | startIdx |
AmpiRequestPool * | reqPool |
Definition at line 1524 of file ampiimpl.h.
AmpiRequestList::AmpiRequestList | ( | ) | [inline] |
Definition at line 1530 of file ampiimpl.h.
AmpiRequestList::AmpiRequestList | ( | int | size, | |
AmpiRequestPool * | reqPoolPtr | |||
) | [inline] |
Definition at line 1531 of file ampiimpl.h.
AmpiRequestList::~AmpiRequestList | ( | ) | [inline] |
Definition at line 1533 of file ampiimpl.h.
AmpiRequest* AmpiRequestList::operator[] | ( | int | n | ) | [inline] |
void AmpiRequestList::free | ( | AmpiRequestPool & | reqPool, | |
int | idx, | |||
CkDDT * | ddt | |||
) |
Definition at line 2785 of file ampi.C.
References min().
Referenced by AMPI_API_IMPL().
void AmpiRequestList::freeNonPersReq | ( | int & | idx | ) |
int AmpiRequestList::insert | ( | AmpiRequest * | req | ) | [inline] |
Definition at line 1544 of file ampiimpl.h.
References idx.
Referenced by AMPI_API_IMPL().
void AmpiRequestList::checkRequest | ( | MPI_Request | idx | ) | const [inline] |
Definition at line 1560 of file ampiimpl.h.
References idx.
Referenced by checkRequest(), and checkRequests().
void AmpiRequestList::unblockReqs | ( | MPI_Request * | requests, | |
int | numReqs | |||
) | [inline] |
Definition at line 1565 of file ampiimpl.h.
Referenced by AMPI_API_IMPL().
void AmpiRequestList::pup | ( | PUP::er & | p, | |
AmpiRequestPool * | reqPool | |||
) |
Definition at line 3799 of file ampi.C.
References AMPI_ATA_REQ, AMPI_G_REQ, AMPI_GATHER_REQ, AMPI_GATHERV_REQ, AMPI_GPU_REQ, AMPI_I_REQ, AMPI_INVALID_REQ, AMPI_REDN_REQ, AMPI_SEND_REQ, AMPI_SSEND_REQ, CmiMemoryIs(), p, and pup().
Referenced by pup().
void AmpiRequestList::print | ( | ) | const [inline] |
Definition at line 1575 of file ampiimpl.h.
vector<AmpiRequest*> AmpiRequestList::reqs [private] |
Definition at line 1526 of file ampiimpl.h.
int AmpiRequestList::startIdx [private] |
Definition at line 1527 of file ampiimpl.h.
AmpiRequestPool* AmpiRequestList::reqPool [private] |
Definition at line 1528 of file ampiimpl.h.