PPL Logo

DefaultArrayMap Class Reference

The default map object -- This does blocked mapping in the general case and calls the round-robin procNum for the dynamic insertion case -- ASB. More...

Inheritance diagram for DefaultArrayMap:

Inheritance graph
[legend]
Collaboration diagram for DefaultArrayMap:

Collaboration graph
[legend]

Public Member Functions

 DefaultArrayMap (void)
 DefaultArrayMap (CkMigrateMessage *m)
int registerArray (const CkArrayIndex &numElements, CkArrayID aid)
void unregisterArray (int idx)
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.

Data Fields

CkPupPtrVec< arrayMapInfoamaps
 This array stores information about different chare arrays in a Charm program (dimensions, binsize, numChares etc .

Detailed Description

The default map object -- This does blocked mapping in the general case and calls the round-robin procNum for the dynamic insertion case -- ASB.

Definition at line 406 of file cklocation.C.


Constructor & Destructor Documentation

DefaultArrayMap::DefaultArrayMap ( void   )  [inline]

Definition at line 414 of file cklocation.C.

DefaultArrayMap::DefaultArrayMap ( CkMigrateMessage m  )  [inline]

Definition at line 418 of file cklocation.C.


Member Function Documentation

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

Reimplemented from CkArrayMap.

Reimplemented in FastArrayMap, HilbertArrayMap, and ReadFileMap.

Definition at line 420 of file cklocation.C.

References idx.

Referenced by ReadFileMap::registerArray(), HilbertArrayMap::registerArray(), and FastArrayMap::registerArray().

Here is the caller graph for this function:

void DefaultArrayMap::unregisterArray ( int  idx  )  [inline, virtual]

Reimplemented from CkArrayMap.

Definition at line 428 of file cklocation.C.

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

Reimplemented from RRMap.

Reimplemented in FastArrayMap, HilbertArrayMap, and ReadFileMap.

Definition at line 434 of file cklocation.C.

References BGConverse::CkMyNodeSize(), BGConverse::CkNodeFirst(), Converse::CkNumPes(), CkArrayMap::dynamicIns, int, RRMap::procNum(), and useNodeBlkMapping.

Here is the call graph for this function:

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

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

Reimplemented from RRMap.

Reimplemented in FastArrayMap, HilbertArrayMap, and ReadFileMap.

Definition at line 503 of file cklocation.C.

References Converse::CkNumPes(), PUP::er::isUnpacking(), npes, and RRMap::pup().

Referenced by ReadFileMap::pup(), HilbertArrayMap::pup(), and FastArrayMap::pup().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

This array stores information about different chare arrays in a Charm program (dimensions, binsize, numChares etc .

.. )

Definition at line 411 of file cklocation.C.


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

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