Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jem::mp::MTContext Class Reference

#include <jem/mp/MTContext.h>

Inheritance diagram for jem::mp::MTContext:
Inheritance graph

Public Types

typedef MTContext Self
 
typedef Context Super
 
- Public Types inherited from jem::mp::Context
typedef const void * ExtensionID
 

Public Member Functions

 MTContext (int n)
 
 MTContext (int rank, const Self &rhs)
 
 MTContext (int rank, const Ref< mt::Arena > &arena)
 
virtual String getErrorString (int err) const
 
virtual int size () const
 
virtual int myRank () const
 
virtual bool isShared () const
 
virtual void abort (int err)
 
virtual Ref< Contextclone ()
 
virtual Ref< RequestListnewRequestList ()
 
virtual void send (const SendBuffer &buf, int dest, int tag)
 
virtual void recv (const RecvBuffer &buf, int src, int tag, Status *stat)
 
virtual Ref< RequestinitSend (const SendBuffer &buf, int dest, int tag)
 
virtual Ref< RequestinitRecv (const RecvBuffer &buf, int src, int tag)
 
virtual void barrier ()
 
virtual void broadcast (const SendBuffer &buf)
 
virtual void broadcast (const RecvBuffer &buf, int root)
 
virtual void reduce (const RecvBuffer &in, const SendBuffer &out, int root, Opcode opcode)
 
virtual void allreduce (const RecvBuffer &in, const SendBuffer &out, Opcode opcode)
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~MTContext ()
 
- Protected Member Functions inherited from jem::mp::Context
virtual ~Context ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::mp::MTContext::MTContext ( int  n)
explicit
jem::mp::MTContext::MTContext ( int  rank,
const Self rhs 
)
jem::mp::MTContext::MTContext ( int  rank,
const Ref< mt::Arena > &  arena 
)
virtual jem::mp::MTContext::~MTContext ( )
protectedvirtual

Member Function Documentation

virtual String jem::mp::MTContext::getErrorString ( int  err) const
virtual

Implements jem::mp::Context.

virtual int jem::mp::MTContext::size ( ) const
virtual

Implements jem::mp::Context.

virtual int jem::mp::MTContext::myRank ( ) const
virtual

Implements jem::mp::Context.

virtual bool jem::mp::MTContext::isShared ( ) const
virtual

Reimplemented from jem::mp::Context.

virtual void jem::mp::MTContext::abort ( int  err)
virtual

Implements jem::mp::Context.

virtual Ref<Context> jem::mp::MTContext::clone ( )
virtual

Implements jem::mp::Context.

virtual Ref<RequestList> jem::mp::MTContext::newRequestList ( )
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::send ( const SendBuffer buf,
int  dest,
int  tag 
)
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::recv ( const RecvBuffer buf,
int  src,
int  tag,
Status stat 
)
virtual

Implements jem::mp::Context.

virtual Ref<Request> jem::mp::MTContext::initSend ( const SendBuffer buf,
int  dest,
int  tag 
)
virtual

Implements jem::mp::Context.

virtual Ref<Request> jem::mp::MTContext::initRecv ( const RecvBuffer buf,
int  src,
int  tag 
)
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::barrier ( )
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::broadcast ( const SendBuffer buf)
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::broadcast ( const RecvBuffer buf,
int  root 
)
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::reduce ( const RecvBuffer in,
const SendBuffer out,
int  root,
Opcode  opcode 
)
virtual

Implements jem::mp::Context.

virtual void jem::mp::MTContext::allreduce ( const RecvBuffer in,
const SendBuffer out,
Opcode  opcode 
)
virtual

Implements jem::mp::Context.