PPL Logo

ReadFileMap Class Reference

This map can be used for topology aware mapping when the mapping is provided through a file -- ASB. More...

Inheritance diagram for ReadFileMap:

Inheritance graph
[legend]
Collaboration diagram for ReadFileMap:

Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

std::vector< intmapping

Detailed Description

This map can be used for topology aware mapping when the mapping is provided through a file -- ASB.

Definition at line 847 of file cklocation.C.


Constructor & Destructor Documentation

ReadFileMap::ReadFileMap ( void   )  [inline]

Definition at line 853 of file cklocation.C.

ReadFileMap::ReadFileMap ( CkMigrateMessage m  )  [inline]

Definition at line 857 of file cklocation.C.


Member Function Documentation

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

Reimplemented from DefaultArrayMap.

Definition at line 859 of file cklocation.C.

References TopoManager::coordinatesToRank(), idx, int, mapping, DefaultArrayMap::registerArray(), PUP::t, tmgr, and x.

Here is the call graph for this function:

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

Reimplemented from DefaultArrayMap.

Definition at line 906 of file cklocation.C.

References int, and mapping.

void ReadFileMap::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 938 of file cklocation.C.

References mapping, and DefaultArrayMap::pup().

Here is the call graph for this function:


Field Documentation

std::vector<int> ReadFileMap::mapping [private]

Definition at line 850 of file cklocation.C.


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

Generated on Mon Sep 21 08:29:20 2020 for Charm++ by  doxygen 1.5.5