PPL Logo

GPUReq Class Reference

#include <ampiimpl.h>

Inheritance diagram for GPUReq:

Inheritance graph
[legend]
Collaboration diagram for GPUReq:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 1449 of file ampiimpl.h.


Constructor & Destructor Documentation

GPUReq::GPUReq (  ) 

Definition at line 11524 of file ampi.C.

References getAmpiInstance().

Referenced by AMPI_GPU_Iinvoke(), and AMPI_GPU_Iinvoke_wr().

Here is the call graph for this function:

Here is the caller graph for this function:

GPUReq::~GPUReq (  ) 


Member Function Documentation

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().

Here is the call graph for this function:

void GPUReq::receive ( ampi *  ptr,
AmpiMsg *  msg,
bool  deleteMsg = true 
) [override, virtual]

Receive an AmpiMsg.

Implements AmpiRequest.

Definition at line 11546 of file ampi.C.

void GPUReq::receive ( ampi *  ptr,
CkReductionMsg msg 
) [override, virtual]

Receive a CkReductionMsg.

Implements AmpiRequest.

Definition at line 11551 of file ampi.C.

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().

Here is the caller graph for this function:

void GPUReq::print (  )  const [override, virtual]

Implements AmpiRequest.

Definition at line 11561 of file ampi.C.

References AmpiRequest::print().

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:25:11 2020 for Charm++ by  doxygen 1.5.5