
#include <ampiimpl.h>


Public Member Functions | |
| SReq (MPI_Comm comm_) | |
| SReq () | |
| ~SReq () | |
| 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 | 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 () |
Data Fields | |
| bool | statusIreq |
Definition at line 712 of file ampiimpl.h.
| SReq::SReq | ( | MPI_Comm | comm_ | ) | [inline] |
| SReq::SReq | ( | ) | [inline] |
Definition at line 718 of file ampiimpl.h.
| SReq::~SReq | ( | ) | [inline] |
Definition at line 719 of file ampiimpl.h.
| CmiBool SReq::test | ( | MPI_Status * | sts | ) | [virtual] |
Return true if this request is finished (progress).
Implements AmpiRequest.
Definition at line 3791 of file ampi.C.
References AmpiRequest::comm, getAmpiInstance(), statusIreq, and ampi::yield().
| void SReq::complete | ( | MPI_Status * | sts | ) | [virtual] |
Completes the operation hanging on the request.
Implements AmpiRequest.
Definition at line 3809 of file ampi.C.
References wait().
| int SReq::wait | ( | MPI_Status * | sts | ) | [virtual] |
Block until this request is finished, returning a valid MPI error code.
Implements AmpiRequest.
Definition at line 3539 of file ampi.C.
References ampi::block(), AmpiRequest::comm, getAmpiInstance(), ptr, ampi::resumeOnRecv, and statusIreq.
Referenced by complete().
| int SReq::getType | ( | void | ) | [inline, virtual] |
Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq.
Implements AmpiRequest.
Definition at line 724 of file ampiimpl.h.
Referenced by AMPI_Wait(), and AMPI_Waitall().
| virtual void SReq::pup | ( | PUP::er & | p | ) | [inline, virtual] |
Reimplemented from AmpiRequest.
Definition at line 725 of file ampiimpl.h.
References AmpiRequest::pup(), and statusIreq.
| void SReq::print | ( | ) | [virtual] |
Reimplemented from AmpiRequest.
Definition at line 2313 of file ampi.C.
References CmiPrintf(), AmpiRequest::print(), and statusIreq.
Definition at line 714 of file ampiimpl.h.
Referenced by print(), pup(), ampi::ssend_ack(), test(), and wait().
1.5.5