
#include <ampiimpl.h>


Public Member Functions | |
| AmpiRequestList () | |
| ~AmpiRequestList () | |
| AmpiRequestList (const AmpiRequestList &src) | |
| AmpiRequestList (int size) | |
| AmpiRequestList & | operator= (const AmpiRequestList &src) |
| AmpiRequest * | operator[] (size_t n) |
| int | size (void) const |
| void | setSize (int blklen_) |
| void | growAtLeast (int pos) |
| void | insertAt (int pos, AmpiRequest *elt) |
| void | free (int pos) |
| void | push_back (AmpiRequest *elt) |
| int | insert (AmpiRequest *elt) |
| void | checkRequest (MPI_Request idx) |
| int | findRequestIndex (AmpiRequest *req) |
| void | pup (PUP::er &p) |
| void | print () |
Private Member Functions | |
| void | makeBlock (int blklen_, int len_) |
| void | freeBlock (void) |
| void | copyFrom (const AmpiRequestList &src) |
Private Attributes | |
| AmpiRequest ** | block |
| int | blklen |
| int | len |
Definition at line 747 of file ampiimpl.h.
| AmpiRequestList::AmpiRequestList | ( | ) | [inline] |
| AmpiRequestList::~AmpiRequestList | ( | ) | [inline] |
| AmpiRequestList::AmpiRequestList | ( | const AmpiRequestList & | src | ) | [inline] |
| AmpiRequestList::AmpiRequestList | ( | int | size | ) | [inline] |
Definition at line 751 of file ampiimpl.h.
Referenced by AmpiRequestList(), copyFrom(), pup(), and setSize().
| void AmpiRequestList::freeBlock | ( | void | ) | [inline, private] |
Definition at line 755 of file ampiimpl.h.
Referenced by operator=(), pup(), and ~AmpiRequestList().
| void AmpiRequestList::copyFrom | ( | const AmpiRequestList & | src | ) | [inline, private] |
Definition at line 759 of file ampiimpl.h.
References blklen, block, CkSTLHelper< AmpiRequest * >::elementCopy(), len, and makeBlock().
Referenced by AmpiRequestList(), and operator=().
| AmpiRequestList& AmpiRequestList::operator= | ( | const AmpiRequestList & | src | ) | [inline] |
| AmpiRequest* AmpiRequestList::operator[] | ( | size_t | n | ) | [inline] |
Definition at line 774 of file ampiimpl.h.
| int AmpiRequestList::size | ( | void | ) | const [inline] |
Definition at line 776 of file ampiimpl.h.
References len.
Referenced by AMPI_Iallgather(), AMPI_Ialltoall(), AMPI_Wait(), and ampi::inorder().
| void AmpiRequestList::setSize | ( | int | blklen_ | ) | [inline] |
Definition at line 777 of file ampiimpl.h.
References CkSTLHelper< AmpiRequest * >::elementCopy(), len, and makeBlock().
Referenced by growAtLeast().
| void AmpiRequestList::growAtLeast | ( | int | pos | ) | [inline] |
Definition at line 784 of file ampiimpl.h.
References blklen, and setSize().
Referenced by insertAt().
| void AmpiRequestList::insertAt | ( | int | pos, | |
| AmpiRequest * | elt | |||
| ) | [inline] |
Definition at line 787 of file ampiimpl.h.
References growAtLeast(), and len.
Referenced by push_back().
| void AmpiRequestList::free | ( | int | pos | ) | [inline] |
Definition at line 794 of file ampiimpl.h.
References len.
Referenced by AMPI_Request_free(), AMPI_Test(), AMPI_Wait(), and AMPI_Waitall().
| void AmpiRequestList::push_back | ( | AmpiRequest * | elt | ) | [inline] |
| int AmpiRequestList::insert | ( | AmpiRequest * | elt | ) | [inline] |
Definition at line 801 of file ampiimpl.h.
References len, and push_back().
Referenced by AMPI_GPU_Iinvoke(), AMPI_Iallgather(), AMPI_Iallreduce(), AMPI_Ialltoall(), AMPI_Irecv(), AMPI_Ireduce(), AMPI_Issend(), AMPI_Recv_init(), AMPI_Send_init(), and AMPI_Ssend_init().
| void AmpiRequestList::checkRequest | ( | MPI_Request | idx | ) | [inline] |
Definition at line 815 of file ampiimpl.h.
References len.
Referenced by checkRequest(), and checkRequests().
| int AmpiRequestList::findRequestIndex | ( | AmpiRequest * | req | ) | [inline] |
| void AmpiRequestList::pup | ( | PUP::er & | p | ) |
Definition at line 2318 of file ampi.C.
References blklen, CmiMemoryIs(), freeBlock(), PUP::er::isDeleting(), PUP::er::isUnpacking(), len, makeBlock(), and p.
| void AmpiRequestList::print | ( | ) | [inline] |
AmpiRequest** AmpiRequestList::block [private] |
int AmpiRequestList::blklen [private] |
Definition at line 749 of file ampiimpl.h.
Referenced by AmpiRequestList(), copyFrom(), freeBlock(), growAtLeast(), makeBlock(), and pup().
int AmpiRequestList::len [private] |
Definition at line 750 of file ampiimpl.h.
Referenced by AmpiRequestList(), checkRequest(), copyFrom(), findRequestIndex(), free(), freeBlock(), insert(), insertAt(), makeBlock(), print(), pup(), push_back(), setSize(), and size().
1.5.5