PPL Logo

FastArrayMap Class Reference

A fast map for chare arrays which do static insertions and promise NOT to do late insertions -- ASB. More...

Inheritance diagram for FastArrayMap:

Inheritance graph
[legend]
Collaboration diagram for FastArrayMap:

Collaboration graph
[legend]

Public Member Functions

 FastArrayMap (void)
 FastArrayMap (CkMigrateMessage *m)
int registerArray (const CkArrayIndex &numElements, CkArrayID aid)
int procNum (int arrayHdl, const CkArrayIndex &i)
void pup (PUP::er &p)
 Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc.

Detailed Description

A fast map for chare arrays which do static insertions and promise NOT to do late insertions -- ASB.

Definition at line 520 of file cklocation.C.


Constructor & Destructor Documentation

FastArrayMap::FastArrayMap ( void   )  [inline]

Definition at line 523 of file cklocation.C.

FastArrayMap::FastArrayMap ( CkMigrateMessage m  )  [inline]

Definition at line 527 of file cklocation.C.


Member Function Documentation

int FastArrayMap::registerArray ( const CkArrayIndex &  numElements,
CkArrayID  aid 
) [inline, virtual]

Reimplemented from DefaultArrayMap.

Definition at line 529 of file cklocation.C.

References idx, and DefaultArrayMap::registerArray().

Here is the call graph for this function:

int FastArrayMap::procNum ( int  arrayHdl,
const CkArrayIndex &  i 
) [inline, virtual]

binSize used in DefaultArrayMap is the floor of numChares/numPes but for this FastArrayMap, we need the ceiling

Reimplemented from DefaultArrayMap.

Definition at line 537 of file cklocation.C.

References int, and RRMap::procNum().

Here is the call graph for this function:

void FastArrayMap::pup ( PUP::er p  )  [inline, virtual]

Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc.

Reimplemented from DefaultArrayMap.

Definition at line 577 of file cklocation.C.

References DefaultArrayMap::pup().

Here is the call graph for this function:


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

Generated on Mon Sep 21 08:23:32 2020 for Charm++ by  doxygen 1.5.5