PPL Logo

MultiRingMulticastStrategy Class Reference
[Strategies for use in Charm++]

Multicast strategy that sends the data using two rings. More...

#include <MultiRingMulticast.h>

Inheritance diagram for MultiRingMulticastStrategy:

Inheritance graph
[legend]
Collaboration diagram for MultiRingMulticastStrategy:

Collaboration graph
[legend]

Public Member Functions

 MultiRingMulticastStrategy ()
 MultiRingMulticastStrategy (CkMigrateMessage *m)
 PUPable_decl (MultiRingMulticastStrategy)

Protected Member Functions

virtual void createObjectOnSrcPe (ComlibSectionHashObject *obj, int npes, ComlibMulticastIndexCount *pelist)
 Defines the two entries of the section multicast interface.
virtual void createObjectOnIntermediatePe (ComlibSectionHashObject *obj, int npes, ComlibMulticastIndexCount *counts, int srcpe)
 Creates the propagation across the half ring.
virtual int needSorting ()
 Specifies that the multicast messages need the processor list to be ordered.

Detailed Description

Multicast strategy that sends the data using two rings.

It divides the total number of processors involved in the multicast in two (after ordering them). Then two rings are created, one starting with the source processor and its half, the other starting at (CkMyPe()+CkNumPes()/2)CkNumPes().

Definition at line 20 of file MultiRingMulticast.h.


Constructor & Destructor Documentation

MultiRingMulticastStrategy::MultiRingMulticastStrategy (  )  [inline]

Definition at line 35 of file MultiRingMulticast.h.

MultiRingMulticastStrategy::MultiRingMulticastStrategy ( CkMigrateMessage m  )  [inline]

Definition at line 36 of file MultiRingMulticast.h.


Member Function Documentation

virtual int MultiRingMulticastStrategy::needSorting (  )  [inline, protected, virtual]

Specifies that the multicast messages need the processor list to be ordered.

Reimplemented from MulticastStrategy.

Definition at line 31 of file MultiRingMulticast.h.

MultiRingMulticastStrategy::PUPable_decl ( MultiRingMulticastStrategy   ) 


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

Generated on Fri May 25 08:04:28 2012 for Charm++ by  doxygen 1.5.5