
#include <ampiimpl.h>


Public Member Functions | |
| ATAReq (int c_) | |
| ATAReq () | |
| ~ATAReq (void) | |
| int | addReq (void *buf_, int count_, int type_, int src_, int tag_, MPI_Comm comm_) |
| CmiBool | test (MPI_Status *sts) |
| Return true if this request is finished (progress). | |
| void | complete (MPI_Status *sts) |
| Completes the operation hanging on the request. | |
| int | wait (MPI_Status *sts) |
| Block until this request is finished, returning a valid MPI error code. | |
| void | receive (ampi *ptr, AmpiMsg *msg) |
| int | getCount (void) |
| int | getType (void) |
| Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq. | |
| virtual void | pup (PUP::er &p) |
| virtual void | print () |
Private Attributes | |
| Request * | myreqs |
| int | elmcount |
| int | idx |
Data Structures | |
| class | Request |
Definition at line 648 of file ampiimpl.h.
| ATAReq::ATAReq | ( | int | c_ | ) | [inline] |
| ATAReq::ATAReq | ( | ) | [inline] |
| ATAReq::~ATAReq | ( | void | ) | [inline] |
| int ATAReq::addReq | ( | void * | buf_, | |
| int | count_, | |||
| int | type_, | |||
| int | src_, | |||
| int | tag_, | |||
| MPI_Comm | comm_ | |||
| ) | [inline] |
Definition at line 681 of file ampiimpl.h.
References ATAReq::Request::buf, ATAReq::Request::comm, ATAReq::Request::count, idx, myreqs, ATAReq::Request::src, ATAReq::Request::tag, and ATAReq::Request::type.
Referenced by AMPI_Iallgather(), and AMPI_Ialltoall().
| CmiBool ATAReq::test | ( | MPI_Status * | sts | ) | [virtual] |
Return true if this request is finished (progress).
Implements AmpiRequest.
Definition at line 3832 of file ampi.C.
References AmpiRequest::comm, AmpiRequest::count, getAmpiInstance(), ampi::iprobe(), myreqs, AmpiRequest::src, and AmpiRequest::tag.
Referenced by AMPI_Test(), and AMPI_Testall().
| void ATAReq::complete | ( | MPI_Status * | sts | ) | [virtual] |
Completes the operation hanging on the request.
Implements AmpiRequest.
Definition at line 3840 of file ampi.C.
References AmpiRequest::buf, AmpiRequest::comm, AmpiRequest::count, getAmpiInstance(), myreqs, AmpiRequest::src, AmpiRequest::tag, and AmpiRequest::type.
| int ATAReq::wait | ( | MPI_Status * | sts | ) | [virtual] |
Block until this request is finished, returning a valid MPI error code.
Implements AmpiRequest.
Definition at line 3519 of file ampi.C.
References AmpiRequest::buf, AmpiRequest::comm, AmpiRequest::count, AmpiRequest::event, getAmpiInstance(), MPI_COMM_WORLD, myreqs, AmpiRequest::src, AmpiRequest::tag, and AmpiRequest::type.
| int ATAReq::getCount | ( | void | ) | [inline] |
| int ATAReq::getType | ( | void | ) | [inline, virtual] |
Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq.
Implements AmpiRequest.
Definition at line 692 of file ampiimpl.h.
Referenced by AMPI_Test().
| virtual void ATAReq::pup | ( | PUP::er & | p | ) | [inline, virtual] |
Reimplemented from AmpiRequest.
Definition at line 694 of file ampiimpl.h.
References elmcount, idx, PUP::er::isDeleting(), PUP::er::isUnpacking(), myreqs, p, ATAReq::Request::pup(), and AmpiRequest::pup().
| void ATAReq::print | ( | ) | [virtual] |
Reimplemented from AmpiRequest.
Definition at line 2308 of file ampi.C.
References CmiPrintf(), elmcount, idx, and AmpiRequest::print().
Request* ATAReq::myreqs [private] |
Definition at line 674 of file ampiimpl.h.
Referenced by addReq(), ATAReq(), complete(), pup(), test(), wait(), and ~ATAReq().
int ATAReq::elmcount [private] |
int ATAReq::idx [private] |
1.5.5