PPL Logo

ComlibLearner Class Reference
[Charm++ Communication Optimization Framework]

Communication library learner which takes a strategy or a list of strategies as input along with the communication pattern of the objects belonging to those strategies and returns new strategies to replace the input strategies. More...

#include <ComlibLearner.h>

Inheritance diagram for ComlibLearner:

Inheritance graph
[legend]

Public Member Functions

virtual ~ComlibLearner ()
virtual void init ()
 Configures parameters of the learner.
virtual StrategyoptimizePattern (Strategy *strat, ComlibGlobalStats &sdata)
 Optimizes a specific strategy. Returns a new optimized strategy.
virtual Strategy ** optimizePattern (Strategy **strat, ComlibGlobalStats &sdata)
 Optimizes the communication pattern of a group of strategies together.

Detailed Description

Communication library learner which takes a strategy or a list of strategies as input along with the communication pattern of the objects belonging to those strategies and returns new strategies to replace the input strategies.

These new strategies optimize the communication pattern.

Definition at line 24 of file ComlibLearner.h.


Constructor & Destructor Documentation

virtual ComlibLearner::~ComlibLearner (  )  [inline, virtual]

Definition at line 26 of file ComlibLearner.h.


Member Function Documentation

virtual void ComlibLearner::init ( void   )  [inline, virtual]

Configures parameters of the learner.

Will be called by the communication library on every processor after the second barrier of the communication library.

Reimplemented in AAMLearner, and AAPLearner.

Definition at line 30 of file ComlibLearner.h.

virtual Strategy* ComlibLearner::optimizePattern ( Strategy strat,
ComlibGlobalStats sdata 
) [inline, virtual]

Optimizes a specific strategy. Returns a new optimized strategy.

Reimplemented in AAMLearner, and AAPLearner.

Definition at line 33 of file ComlibLearner.h.

virtual Strategy** ComlibLearner::optimizePattern ( Strategy **  strat,
ComlibGlobalStats sdata 
) [inline, virtual]

Optimizes the communication pattern of a group of strategies together.

Reimplemented in AAMLearner, and AAPLearner.

Definition at line 40 of file ComlibLearner.h.


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

Generated on Fri May 25 08:02:44 2012 for Charm++ by  doxygen 1.5.5