#include <ampiimpl.h>
Public Member Functions | |
GPUReq () noexcept | |
~GPUReq () | |
bool | test (MPI_Status *sts=MPI_STATUS_IGNORE) noexcept override |
Return true if this request is finished (progress):. | |
int | wait (MPI_Status *sts) noexcept override |
Block until this request is finished, returning a valid MPI error code. | |
void | receive (ampi *ptr, AmpiMsg *msg, bool deleteMsg=true) noexcept override |
Receive an AmpiMsg. | |
void | receive (ampi *ptr, CkReductionMsg *msg) noexcept override |
Receive a CkReductionMsg. | |
AmpiReqType | getType () const noexcept override |
Returns the type of request: AMPI_I_REQ, AMPI_ATA_REQ, AMPI_SEND_REQ, AMPI_SSEND_REQ, AMPI_REDN_REQ, AMPI_GATHER_REQ, AMPI_GATHERV_REQ, AMPI_G_REQ. | |
bool | isUnmatched () const noexcept override |
Returns whether this request will need to be matched. | |
void | setComplete () noexcept |
void | print () const noexcept override |
Definition at line 1449 of file ampiimpl.h.
GPUReq::GPUReq | ( | ) |
Definition at line 11524 of file ampi.C.
References getAmpiInstance().
Referenced by AMPI_GPU_Iinvoke(), and AMPI_GPU_Iinvoke_wr().
GPUReq::~GPUReq | ( | ) |
bool GPUReq::test | ( | MPI_Status * | sts = MPI_STATUS_IGNORE |
) | [override, virtual] |
Return true if this request is finished (progress):.
Implements AmpiRequest.
Definition at line 11532 of file ampi.C.
References AmpiRequest::complete.
int GPUReq::wait | ( | MPI_Status * | sts | ) | [override, virtual] |
Block until this request is finished, returning a valid MPI error code.
Implements AmpiRequest.
Definition at line 11537 of file ampi.C.
References AmpiRequest::complete, and getAmpiParent().
void GPUReq::receive | ( | ampi * | ptr, | |
AmpiMsg * | msg, | |||
bool | deleteMsg = true | |||
) | [override, virtual] |
void GPUReq::receive | ( | ampi * | ptr, | |
CkReductionMsg * | msg | |||
) | [override, virtual] |
AmpiReqType GPUReq::getType | ( | ) | const [inline, override, virtual] |
Returns the type of request: AMPI_I_REQ, AMPI_ATA_REQ, AMPI_SEND_REQ, AMPI_SSEND_REQ, AMPI_REDN_REQ, AMPI_GATHER_REQ, AMPI_GATHERV_REQ, AMPI_G_REQ.
Implements AmpiRequest.
Definition at line 1457 of file ampiimpl.h.
References AMPI_GPU_REQ.
bool GPUReq::isUnmatched | ( | ) | const [inline, override, virtual] |
Returns whether this request will need to be matched.
It is used to determine whether this request should be inserted into postedReqs. AMPI_SEND_REQ, AMPI_SSEND_REQ, and AMPI_ATA_REQ should not be posted.
Implements AmpiRequest.
Definition at line 1458 of file ampiimpl.h.
void GPUReq::setComplete | ( | ) |
Definition at line 11556 of file ampi.C.
References AmpiRequest::complete.
Referenced by AMPI_GPU_complete().
void GPUReq::print | ( | ) | const [override, virtual] |
Implements AmpiRequest.
Definition at line 11561 of file ampi.C.
References AmpiRequest::print().