PPL Logo

IReq Class Reference

#include <ampiimpl.h>

Inheritance diagram for IReq:

Inheritance graph
[legend]
Collaboration diagram for IReq:

Collaboration graph
[legend]

Public Member Functions

 IReq (void *buf_, int count_, int type_, int src_, int tag_, MPI_Comm comm_)
 IReq ()
 ~IReq ()
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.
int getType (void)
 Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq.
void receive (ampi *ptr, AmpiMsg *msg)
virtual void pup (PUP::er &p)
virtual void print ()

Data Fields

bool statusIreq
int length

Detailed Description

Definition at line 624 of file ampiimpl.h.


Constructor & Destructor Documentation

IReq::IReq ( void *  buf_,
int  count_,
int  type_,
int  src_,
int  tag_,
MPI_Comm  comm_ 
) [inline]

IReq::IReq (  )  [inline]

Definition at line 633 of file ampiimpl.h.

IReq::~IReq (  )  [inline]

Definition at line 634 of file ampiimpl.h.


Member Function Documentation

CmiBool IReq::test ( MPI_Status sts  )  [virtual]

Return true if this request is finished (progress).

Implements AmpiRequest.

Definition at line 3776 of file ampi.C.

References AmpiRequest::comm, getAmpiInstance(), length, MPI_Status::MPI_LENGTH, statusIreq, and ampi::yield().

void IReq::complete ( MPI_Status sts  )  [virtual]

Completes the operation hanging on the request.

Implements AmpiRequest.

Definition at line 3801 of file ampi.C.

References wait().

int IReq::wait ( MPI_Status sts  )  [virtual]

int IReq::getType ( void   )  [inline, virtual]

Returns the type of request: 1-PersReq, 2-IReq, 3-ATAReq, 4-SReq, 5-GPUReq.

Implements AmpiRequest.

Definition at line 638 of file ampiimpl.h.

void IReq::receive ( ampi ptr,
AmpiMsg msg 
) [virtual]

virtual void IReq::pup ( PUP::er p  )  [inline, virtual]

Reimplemented from AmpiRequest.

Definition at line 640 of file ampiimpl.h.

References length, AmpiRequest::pup(), and statusIreq.

void IReq::print (  )  [virtual]

Reimplemented from AmpiRequest.

Definition at line 2303 of file ampi.C.

References CmiPrintf(), length, AmpiRequest::print(), and statusIreq.


Field Documentation

Definition at line 626 of file ampiimpl.h.

Referenced by IReq(), print(), pup(), receive(), test(), and wait().

Definition at line 627 of file ampiimpl.h.

Referenced by IReq(), print(), pup(), receive(), test(), and wait().


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

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