PPL Logo

ck-core/ckarray.C File Reference

Go to the source code of this file.

Data Structures

class  CkArrayBroadcaster
 This arrayListener is in charge of delivering broadcasts to the array. More...
class  CkArrayReducer
 This arrayListener is in charge of performing reductions on the array. More...
class  ArrayElement_initInfo
struct  CkInsertIdxMsg

Functions

 CpvDeclare (int, serializer)
 CkpvStaticDeclare (ArrayElement_initInfo, initInfo)
 CK_REDUCTION_CONTRIBUTE_METHODS_DEF (ArrayElement, thisArray,*(contributorInfo *)&listenerData[thisArray->reducer->ckGetOffset()], true) void ArrayElement
 CK_REDUCTION_CLIENT_DEF (CProxy_ArrayBase, ckLocalBranch())
IrrGrouplookupGroupAndBufferIfNotThere (CkCoreState *ck, envelope *env, const CkGroupID &groupID)
void ckinsertIdxFunc (void *m)
void _ckArrayInit (void)
void testPup (PUP::er &p, int shouldBe)
void msg_prepareSend (CkArrayMessage *msg, int ep, CkArrayID aid)
 Fill out a message's array fields before sending it.
void msg_prepareSend_noinline (CkArrayMessage *msg, int ep, CkArrayID aid)
 Just a non-inlined version of msg_prepareSend().
void CkBroadcastMsgSection (int entryIndex, void *msg, CkSectionID sID, int opts)
void CkSendMsgArray (int entryIndex, void *msg, CkArrayID aID, const CkArrayIndex &idx, int opts)
void CkSendMsgArrayInline (int entryIndex, void *msg, CkArrayID aID, const CkArrayIndex &idx, int opts)
void CkBroadcastMsgArray (int entryIndex, void *msg, CkArrayID aID, int opts)

Variables

bool _isAnytimeMigration
 This flag is true when in the system there is anytime migration, false when the user code guarantees that no migration happens except during load balancing (in which case it can only happen between AtSync and ResumeFromSync).
bool _isStaticInsertion
 Array elements are only inserted at construction.
bool _isNotifyChildInRed
 This flag is true when users are sure there is at least one charm array element per processor.
static int ckinsertIdxHdl
int _tempBroadcastCount = 0


Detailed Description

Definition in file ckarray.C.


Function Documentation

CpvDeclare ( int  ,
serializer   
)

Referenced by KillOnAllSigs().

CkpvStaticDeclare ( ArrayElement_initInfo  ,
initInfo   
)

CK_REDUCTION_CONTRIBUTE_METHODS_DEF ( ArrayElement  ,
thisArray  ,
*(contributorInfo *)&  listenerData[thisArray->reducer->ckGetOffset()],
true   
)

Definition at line 391 of file ckarray.C.

References ArrayElement::allredMgr, and AllreduceMgr::allreduce_recieve().

CK_REDUCTION_CLIENT_DEF ( CProxy_ArrayBase  ,
ckLocalBranch()   
)

Definition at line 523 of file ckarray.C.

References init().

IrrGroup* lookupGroupAndBufferIfNotThere ( CkCoreState ck,
envelope env,
const CkGroupID groupID 
)

Definition at line 1037 of file ck.C.

References _lookupGroupAndBufferIfNotThere().

Referenced by CProxy_ArrayBase::ckInsertIdx().

void ckinsertIdxFunc ( void *  m  ) 

void testPup ( PUP::er p,
int  shouldBe 
) [inline]

Definition at line 838 of file ckarray.C.

Referenced by CkArray::pup().

void msg_prepareSend ( CkArrayMessage msg,
int  ep,
CkArrayID  aid 
) [inline]

void CkSendMsgArray ( int  entryIndex,
void *  msg,
CkArrayID  aID,
const CkArrayIndex idx,
int  opts 
)


Variable Documentation

This flag is true when in the system there is anytime migration, false when the user code guarantees that no migration happens except during load balancing (in which case it can only happen between AtSync and ResumeFromSync).

Definition at line 63 of file ckarray.C.

Referenced by _parseCommandLineOpts(), ampiNodeInit(), and CkArrayOptions::init().

Array elements are only inserted at construction.

Definition at line 64 of file ckarray.C.

Referenced by _parseCommandLineOpts(), ampiNodeInit(), and CkArrayOptions::init().

This flag is true when users are sure there is at least one charm array element per processor.

In such case, when doing reduction on the array, the children don't need to be notified that reduction starts

Definition at line 65 of file ckarray.C.

Referenced by _parseCommandLineOpts(), CkArrayOptions::init(), and CkNodeReductionMgr::startReduction().

int ckinsertIdxHdl [static]

Definition at line 660 of file ckarray.C.

Definition at line 1340 of file ckarray.C.


Generated on Thu May 24 07:56:00 2012 for Charm++ by  doxygen 1.5.5