PPL Logo

PropMap Class Reference

A proportional map object-- tries to map more objects to faster processors and fewer to slower processors. More...

Inheritance diagram for PropMap:

Inheritance graph
[legend]
Collaboration diagram for PropMap:

Collaboration graph
[legend]

Public Member Functions

 PropMap (void)
 PropMap (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.

Private Attributes

CkPupPtrVec< arrInfoarrs

Detailed Description

A proportional map object-- tries to map more objects to faster processors and fewer to slower processors.

Also attempts to ensure good locality by mapping nearby elements together.

Definition at line 1307 of file cklocation.C.


Constructor & Destructor Documentation

PropMap::PropMap ( void   )  [inline]

Definition at line 1312 of file cklocation.C.

PropMap::PropMap ( CkMigrateMessage m  )  [inline]

Definition at line 1317 of file cklocation.C.


Member Function Documentation

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

Reimplemented from CkArrayMap.

Definition at line 1318 of file cklocation.C.

References arrInfo::arrInfo(), idx, and speeds.

Here is the call graph for this function:

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

Reimplemented from CkArrayMap.

Definition at line 1325 of file cklocation.C.

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

Implements CkArrayMap.

Definition at line 1329 of file cklocation.C.

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

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

Reimplemented from CkArrayMap.

Definition at line 1333 of file cklocation.C.

References Converse::CkNumPes(), idx, PUP::er::isPacking(), PUP::er::isUnpacking(), and speeds.

Here is the call graph for this function:


Field Documentation

Definition at line 1310 of file cklocation.C.


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

Generated on Mon Sep 21 08:28:45 2020 for Charm++ by  doxygen 1.5.5