PPL Logo

CkArrayReducer Class Reference

This arrayListener is in charge of performing reductions on the array. More...

Inheritance diagram for CkArrayReducer:

Inheritance graph
[legend]
Collaboration diagram for CkArrayReducer:

Collaboration graph
[legend]

Public Member Functions

 CkArrayReducer (CkGroupID mgrID_)
 Attach this array to this CkReductionMgr.
 CkArrayReducer (CkMigrateMessage *m)
virtual void pup (PUP::er &p)
virtual ~CkArrayReducer ()
 PUPable_decl (CkArrayReducer)
void ckBeginInserting (void)
 Elements may be being created.
void ckEndInserting (void)
 No more elements will be created (for now).
void ckElementStamp (int *eltInfo)
 Element creation message is about to be sent.
void ckElementCreating (ArrayElement *elt)
 Element is about to be created on this processor.
void ckElementDied (ArrayElement *elt)
 Element is about to be destroyed.
void ckElementLeaving (ArrayElement *elt)
 Element is about to leave this processor (so about to call pup).
bool ckElementArriving (ArrayElement *elt)
 Element just arrived on this processor (so just called pup) Return false if the element migrated away or deleted itself.

Private Types

typedef contributorInfoI

Private Member Functions

contributorInfogetData (ArrayElement *el)

Private Attributes

CkGroupID mgrID
CkReductionMgrmgr

Detailed Description

This arrayListener is in charge of performing reductions on the array.

Definition at line 132 of file ckarray.C.


Member Typedef Documentation

typedef contributorInfo* CkArrayReducer::I [private]

Definition at line 135 of file ckarray.C.


Constructor & Destructor Documentation

CkArrayReducer::CkArrayReducer ( CkGroupID  mgrID_  ) 

Attach this array to this CkReductionMgr.

Definition at line 1267 of file ckarray.C.

References mgr, and mgrID.

CkArrayReducer::CkArrayReducer ( CkMigrateMessage m  ) 

Definition at line 1273 of file ckarray.C.

References mgr.

CkArrayReducer::~CkArrayReducer (  )  [virtual]

Definition at line 1284 of file ckarray.C.


Member Function Documentation

contributorInfo* CkArrayReducer::getData ( ArrayElement el  )  [inline, private]

Definition at line 136 of file ckarray.C.

References CkArrayListener::ckGetData().

Referenced by ckElementArriving(), ckElementCreating(), ckElementDied(), and ckElementLeaving().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkArrayReducer::pup ( PUP::er p  )  [virtual]

Reimplemented from CkArrayListener.

Definition at line 1278 of file ckarray.C.

References PUP::er::isUnpacking(), mgr, mgrID, and CkArrayListener::pup().

Here is the call graph for this function:

CkArrayReducer::PUPable_decl ( CkArrayReducer   ) 

void CkArrayReducer::ckBeginInserting ( void   )  [inline, virtual]

Elements may be being created.

Reimplemented from CkArrayListener.

Definition at line 146 of file ckarray.C.

References CkReductionMgr::creatingContributors(), and mgr.

Here is the call graph for this function:

void CkArrayReducer::ckEndInserting ( void   )  [inline, virtual]

No more elements will be created (for now).

Reimplemented from CkArrayListener.

Definition at line 147 of file ckarray.C.

References CkReductionMgr::doneCreatingContributors(), and mgr.

Here is the call graph for this function:

void CkArrayReducer::ckElementStamp ( int eltInfo  )  [inline, virtual]

Element creation message is about to be sent.

Reimplemented from CkArrayListener.

Definition at line 149 of file ckarray.C.

References CkReductionMgr::contributorStamped(), and mgr.

Here is the call graph for this function:

void CkArrayReducer::ckElementCreating ( ArrayElement elt  )  [inline, virtual]

Element is about to be created on this processor.

Reimplemented from CkArrayListener.

Definition at line 151 of file ckarray.C.

References CkReductionMgr::contributorCreated(), getData(), and mgr.

Here is the call graph for this function:

void CkArrayReducer::ckElementDied ( ArrayElement elt  )  [inline, virtual]

Element is about to be destroyed.

Reimplemented from CkArrayListener.

Definition at line 153 of file ckarray.C.

References CkReductionMgr::contributorDied(), getData(), and mgr.

Here is the call graph for this function:

void CkArrayReducer::ckElementLeaving ( ArrayElement elt  )  [inline, virtual]

Element is about to leave this processor (so about to call pup).

Reimplemented from CkArrayListener.

Definition at line 156 of file ckarray.C.

References CkReductionMgr::contributorLeaving(), getData(), and mgr.

Here is the call graph for this function:

bool CkArrayReducer::ckElementArriving ( ArrayElement elt  )  [inline, virtual]

Element just arrived on this processor (so just called pup) Return false if the element migrated away or deleted itself.

Reimplemented from CkArrayListener.

Definition at line 158 of file ckarray.C.

References CkReductionMgr::contributorArriving(), getData(), and mgr.

Here is the call graph for this function:


Field Documentation

Definition at line 133 of file ckarray.C.

Referenced by CkArrayReducer(), and pup().


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

Generated on Mon Sep 21 08:19:22 2020 for Charm++ by  doxygen 1.5.5