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

Detailed Description

Definition at line 733 of file ampiimpl.h.


Constructor & Destructor Documentation

GPUReq::GPUReq (  ) 


Member Function Documentation

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::receive ( ampi ptr,
AmpiMsg msg 
) [virtual]

Implements AmpiRequest.

Definition at line 6325 of file ampi.C.

void GPUReq::setComplete (  ) 

Definition at line 6330 of file ampi.C.

References isComplete.

Referenced by AMPI_GPU_complete().


Field Documentation

Definition at line 734 of file ampiimpl.h.

Referenced by GPUReq(), setComplete(), test(), and wait().


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

Generated on Fri May 25 08:03:29 2012 for Charm++ by  doxygen 1.5.5