LAMA
lama::PGASCheckInterface Class Reference

#include <PGASCheckInterface.hpp>

Inheritance diagram for lama::PGASCheckInterface:

Public Member Functions

virtual void * allocate (size_t size) const
virtual void free (void *ptr, const size_t size) const
virtual void syncronizeAll () const
virtual bool isPinned (const void *const ptr) const
virtual PGASSyncTokengetSyncToken (int arg1) const
virtual PGASCommunicationKind getPreferredCommunicationKind () const
virtual void get (void *dst, const void *src, size_t length, int srcpe) const
virtual void put (void *dst, const void *src, size_t length, int srcpe) const
virtual PartitionId getRank () const
virtual PartitionId getSize () const
virtual std::auto_ptr< SyncTokengetAsync (void *dst, const void *src, size_t length, int srcPE) const
virtual std::auto_ptr< SyncTokenputAsync (void *dst, const void *src, size_t length, int srcPE) const
virtual std::auto_ptr< SyncTokenshift (void *dst, const void *src, size_t size, PartitionId destRank, PartitionId srcRank) const
virtual std::auto_ptr< SyncTokenbroadcast (void *dst, const void *src, size_t length, int srcPE) const
virtual std::auto_ptr< SyncTokenall2all (void *dst, const void *src, size_t elemSize) const
virtual void swap (void *val, const size_t n, const PartitionId partner) const
virtual void scatter (void *myvals, const size_t partSize, const PartitionId root, const void *allvals) const
virtual void scatter (void *myvals, const size_t elemSize, const PartitionId root, const void *allvals, const IndexType sizes[]) const
virtual void gather (void *allvals, const size_t partSize, const PartitionId root, const void *myvals) const
virtual void gather (void *allvals, const size_t elemSize, const PartitionId root, const void *myvals, const IndexType sizes[]) const
 PGASCheckInterface (PGASInterface *interface)
virtual ~PGASCheckInterface ()
virtual double max (const double val, const PartitionId root) const
virtual float max (const float val, const PartitionId root) const
virtual int max (const int val, const PartitionId root) const
virtual size_t max (const size_t val, const PartitionId root) const
virtual double min (const double val, const PartitionId root) const
virtual float min (const float val, const PartitionId root) const
virtual int min (const int val, const PartitionId root) const
virtual double sum (const double val, const PartitionId root) const
virtual float sum (const float val, const PartitionId root) const
virtual int sum (const int val, const PartitionId root) const
virtual size_t sum (const size_t val, const PartitionId root) const
virtual double maxToAll (const double val) const
virtual float maxToAll (const float val) const
virtual int maxToAll (const int val) const
virtual size_t maxToAll (const size_t val) const
virtual double minToAll (const double val) const
virtual float minToAll (const float val) const
virtual int minToAll (const int val) const
virtual double sumToAll (const double val) const
virtual float sumToAll (const float val) const
virtual int sumToAll (const int val) const
virtual size_t sumToAll (const size_t val) const
virtual void maxloc (double &d, int &loc, PartitionId root) const
virtual void maxloc (float &d, int &loc, PartitionId root) const
virtual void maxloc (int &d, int &loc, PartitionId root) const
virtual void parallelReduction (PGASFunctor &reduction, PartitionId root) const

Static Public Member Functions

static const PGASInterfacegetInstance ()

Private Member Functions

virtual void writeAt (std::ostream &stream) const
 Writes some Information about this to the passed stream.

Private Attributes

std::auto_ptr< PGASInterfacemInterface

Constructor & Destructor Documentation


Member Function Documentation

std::auto_ptr< SyncToken > lama::PGASCheckInterface::all2all ( void *  dst,
const void *  src,
size_t  elemSize 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void * lama::PGASCheckInterface::allocate ( size_t  size) const [virtual]

Implements lama::PGASInterface.

References mInterface.

std::auto_ptr< SyncToken > lama::PGASCheckInterface::broadcast ( void *  dst,
const void *  src,
size_t  length,
int  srcPE 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void lama::PGASCheckInterface::free ( void *  ptr,
const size_t  size 
) const [virtual]

Implements lama::PGASInterface.

References LAMA_ASSERT, and mInterface.

void lama::PGASCheckInterface::gather ( void *  allvals,
const size_t  partSize,
const PartitionId  root,
const void *  myvals 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void lama::PGASCheckInterface::gather ( void *  allvals,
const size_t  elemSize,
const PartitionId  root,
const void *  myvals,
const IndexType  sizes[] 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void lama::PGASCheckInterface::get ( void *  dst,
const void *  src,
size_t  length,
int  srcpe 
) const [virtual]

Implements lama::PGASInterface.

References LAMA_ASSERT, and mInterface.

std::auto_ptr< SyncToken > lama::PGASCheckInterface::getAsync ( void *  dst,
const void *  src,
size_t  length,
int  srcPE 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

Implements lama::PGASInterface.

References mInterface.

Implements lama::PGASInterface.

References mInterface.

PGASSyncToken * lama::PGASCheckInterface::getSyncToken ( int  arg1) const [virtual]

Implements lama::PGASInterface.

References mInterface.

bool lama::PGASCheckInterface::isPinned ( const void *const  ptr) const [virtual]

Implements lama::PGASInterface.

References mInterface.

double lama::PGASInterface::max ( const double  val,
const PartitionId  root 
) const [virtual, inherited]
float lama::PGASInterface::max ( const float  val,
const PartitionId  root 
) const [virtual, inherited]
int lama::PGASInterface::max ( const int  val,
const PartitionId  root 
) const [virtual, inherited]
size_t lama::PGASInterface::max ( const size_t  val,
const PartitionId  root 
) const [virtual, inherited]
double lama::PGASInterface::maxToAll ( const double  val) const [virtual, inherited]
float lama::PGASInterface::maxToAll ( const float  val) const [virtual, inherited]
int lama::PGASInterface::maxToAll ( const int  val) const [virtual, inherited]
size_t lama::PGASInterface::maxToAll ( const size_t  val) const [virtual, inherited]
double lama::PGASInterface::min ( const double  val,
const PartitionId  root 
) const [virtual, inherited]
float lama::PGASInterface::min ( const float  val,
const PartitionId  root 
) const [virtual, inherited]
int lama::PGASInterface::min ( const int  val,
const PartitionId  root 
) const [virtual, inherited]
double lama::PGASInterface::minToAll ( const double  val) const [virtual, inherited]
float lama::PGASInterface::minToAll ( const float  val) const [virtual, inherited]
int lama::PGASInterface::minToAll ( const int  val) const [virtual, inherited]
void lama::PGASCheckInterface::put ( void *  dst,
const void *  src,
size_t  length,
int  srcpe 
) const [virtual]

Implements lama::PGASInterface.

References LAMA_ASSERT, and mInterface.

std::auto_ptr< SyncToken > lama::PGASCheckInterface::putAsync ( void *  dst,
const void *  src,
size_t  length,
int  srcPE 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void lama::PGASCheckInterface::scatter ( void *  myvals,
const size_t  partSize,
const PartitionId  root,
const void *  allvals 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void lama::PGASCheckInterface::scatter ( void *  myvals,
const size_t  elemSize,
const PartitionId  root,
const void *  allvals,
const IndexType  sizes[] 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

std::auto_ptr< SyncToken > lama::PGASCheckInterface::shift ( void *  dst,
const void *  src,
size_t  size,
PartitionId  destRank,
PartitionId  srcRank 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

double lama::PGASInterface::sum ( const double  val,
const PartitionId  root 
) const [virtual, inherited]
float lama::PGASInterface::sum ( const float  val,
const PartitionId  root 
) const [virtual, inherited]
int lama::PGASInterface::sum ( const int  val,
const PartitionId  root 
) const [virtual, inherited]
size_t lama::PGASInterface::sum ( const size_t  val,
const PartitionId  root 
) const [virtual, inherited]
double lama::PGASInterface::sumToAll ( const double  val) const [virtual, inherited]
float lama::PGASInterface::sumToAll ( const float  val) const [virtual, inherited]
int lama::PGASInterface::sumToAll ( const int  val) const [virtual, inherited]
size_t lama::PGASInterface::sumToAll ( const size_t  val) const [virtual, inherited]
void lama::PGASCheckInterface::swap ( void *  val,
const size_t  n,
const PartitionId  partner 
) const [virtual]

Reimplemented from lama::PGASInterface.

References LAMA_ASSERT.

void lama::PGASCheckInterface::syncronizeAll ( ) const [virtual]

Implements lama::PGASInterface.

References mInterface.

void lama::PGASCheckInterface::writeAt ( std::ostream &  stream) const [private, virtual]

Writes some Information about this to the passed stream.

If a deriving class does not overrides writeAt, typeid(this).name() is written to stream.

Parameters:
[out]streamthe stream to write to.

Implements lama::PGASInterface.

References mInterface.


Field Documentation


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