
#include <ampiimpl.h>


Public Member Functions | |
| IReq (void *buf_, int count_, int type_, int src_, int tag_, MPI_Comm comm_) | |
| IReq () | |
| ~IReq () | |
| 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. | |
| int | getType (void) |
| Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq. | |
| void | receive (ampi *ptr, AmpiMsg *msg) |
| virtual void | pup (PUP::er &p) |
| virtual void | print () |
Data Fields | |
| bool | statusIreq |
| int | length |
Definition at line 624 of file ampiimpl.h.
Definition at line 628 of file ampiimpl.h.
References AmpiRequest::buf, AmpiRequest::comm, AmpiRequest::count, AmpiRequest::isvalid, length, AmpiRequest::src, statusIreq, AmpiRequest::tag, and AmpiRequest::type.
| IReq::IReq | ( | ) | [inline] |
Definition at line 633 of file ampiimpl.h.
| IReq::~IReq | ( | ) | [inline] |
Definition at line 634 of file ampiimpl.h.
| CmiBool IReq::test | ( | MPI_Status * | sts | ) | [virtual] |
Return true if this request is finished (progress).
Implements AmpiRequest.
Definition at line 3776 of file ampi.C.
References AmpiRequest::comm, getAmpiInstance(), length, MPI_Status::MPI_LENGTH, statusIreq, and ampi::yield().
| void IReq::complete | ( | MPI_Status * | sts | ) | [virtual] |
Completes the operation hanging on the request.
Implements AmpiRequest.
Definition at line 3801 of file ampi.C.
References wait().
| int IReq::wait | ( | MPI_Status * | sts | ) | [virtual] |
Block until this request is finished, returning a valid MPI error code.
Implements AmpiRequest.
Definition at line 3461 of file ampi.C.
References _BgInOutOfCoreMode, ampi::block(), AmpiRequest::buf, AmpiRequest::comm, AmpiRequest::count, getAmpiInstance(), length, MPI_Status::MPI_COMM, MPI_Status::MPI_LENGTH, MPI_Status::MPI_SOURCE, MPI_Status::MPI_TAG, ptr, ampi::resumeOnRecv, AmpiRequest::src, statusIreq, AmpiRequest::tag, and AmpiRequest::type.
Referenced by complete().
| int IReq::getType | ( | void | ) | [inline, virtual] |
Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq.
Implements AmpiRequest.
Definition at line 638 of file ampiimpl.h.
Implements AmpiRequest.
Definition at line 3813 of file ampi.C.
References AmpiRequest::buf, AmpiMsg::comm, AmpiRequest::comm, AmpiRequest::count, AmpiMsg::event, AmpiMsg::length, length, ampi::processMessage(), AmpiRequest::src, AmpiMsg::srcRank, statusIreq, AmpiMsg::tag, AmpiRequest::tag, and AmpiRequest::type.
Referenced by AMPI_Irecv(), and ampi::inorder().
| virtual void IReq::pup | ( | PUP::er & | p | ) | [inline, virtual] |
Reimplemented from AmpiRequest.
Definition at line 640 of file ampiimpl.h.
References length, AmpiRequest::pup(), and statusIreq.
| void IReq::print | ( | ) | [virtual] |
Reimplemented from AmpiRequest.
Definition at line 2303 of file ampi.C.
References CmiPrintf(), length, AmpiRequest::print(), and statusIreq.
1.5.5