
#include <ampiimpl.h>


Public Member Functions | |
| GPUReq () | |
| int | getType () |
| Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq. | |
| 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) |
| void | setComplete () |
Private Attributes | |
| bool | isComplete |
Definition at line 733 of file ampiimpl.h.
| GPUReq::GPUReq | ( | ) |
Definition at line 6297 of file ampi.C.
References AmpiRequest::buf, AmpiRequest::comm, getAmpiInstance(), isComplete, AmpiRequest::isvalid, MPI_Comm_rank(), MPI_COMM_SELF, and AmpiRequest::src.
Referenced by AMPI_GPU_Iinvoke().
| int GPUReq::getType | ( | ) | [inline, virtual] |
Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq.
Implements AmpiRequest.
Definition at line 738 of file ampiimpl.h.
| bool GPUReq::test | ( | MPI_Status * | sts | ) | [virtual] |
Return true if this request is finished (progress).
Implements AmpiRequest.
Definition at line 6306 of file ampi.C.
References isComplete.
| void GPUReq::complete | ( | MPI_Status * | sts | ) | [virtual] |
Completes the operation hanging on the request.
Implements AmpiRequest.
Definition at line 6311 of file ampi.C.
References wait().
| int GPUReq::wait | ( | MPI_Status * | sts | ) | [virtual] |
Block until this request is finished, returning a valid MPI error code.
Implements AmpiRequest.
Definition at line 6316 of file ampi.C.
References ampi::block(), AmpiRequest::comm, getAmpiInstance(), and isComplete.
Referenced by complete().
| void GPUReq::setComplete | ( | ) |
bool GPUReq::isComplete [private] |
Definition at line 734 of file ampiimpl.h.
Referenced by GPUReq(), setComplete(), test(), and wait().
1.5.5