Go to the source code of this file.
Data Structures | |
struct | CompareRankDist |
Functions | |
void | craynid_init () |
void | craynid_reset () |
void | craynid_free () |
void | bgq_topo_init () |
void | bgq_topo_reset () |
void | bgq_topo_free () |
void | TopoManager_init () |
basic initialization | |
Variables | |
static bool | _topoInitialized = false |
CmiNodeLock | _topoLock = 0 |
TopoManager * | _tmgr = NULL |
int | _tpm_numpes = 0 |
int | _tpm_numthreads = 1 |
This would be the top level interface for all topology managers we will write for different machines (cray, bg/l ... for tori, meshes ...) Current plan is to have functionality for Blue Gene/L, Cray XT3, BigSim and non-topo machines.
Definition in file TopoManager.C.
void craynid_init | ( | ) |
Definition at line 229 of file CrayNid.c.
References CmiCreateLock(), cray_lock, and cray_lock2.
Referenced by TopoManager_init().
void craynid_reset | ( | ) |
Definition at line 218 of file CrayNid.c.
References CmiLock(), CmiUnlock(), cray_lock, craynid_free(), maxNID, maxX, maxY, and maxZ.
Referenced by TopoManager_init().
void craynid_free | ( | ) |
Definition at line 206 of file CrayNid.c.
References CmiLock(), CmiUnlock(), cray_lock, free(), pid2nid, and rca_coords.
Referenced by craynid_reset(), and TopoManager_init().
void bgq_topo_init | ( | ) |
Definition at line 13 of file BGQTorus.C.
References bgq_lock, and CmiCreateLock().
Referenced by TopoManager_init().
void bgq_topo_reset | ( | ) |
Definition at line 28 of file BGQTorus.C.
References bgq_isLocalSet, bgq_lock, CmiLock(), and CmiUnlock().
Referenced by TopoManager_init().
void bgq_topo_free | ( | ) |
Definition at line 21 of file BGQTorus.C.
References bgq_isLocalSet, bgq_localNodes, bgq_lock, CmiLock(), CmiUnlock(), and free().
Referenced by TopoManager_init().
void TopoManager_init | ( | ) |
basic initialization
Definition at line 418 of file TopoManager.C.
References bgq_topo_free(), bgq_topo_init(), bgq_topo_reset(), CmiAbort(), CmiCreateLock(), CmiLock(), CmiNodeFirst(), CmiNodeOf(), CmiUnlock(), TopoManager::coordinatesToRank(), coords, craynid_free(), craynid_init(), craynid_reset(), dims, TopoManager::getDimNA(), TopoManager::getDimNB(), TopoManager::getDimNC(), TopoManager::getDimND(), TopoManager::getDimNE(), TopoManager::getDimNT(), TopoManager::getDimNX(), TopoManager::getDimNY(), TopoManager::getDimNZ(), getHilbertList(), TopoManager::getHopsBetweenRanks(), getPlanarList(), getRecursiveBisectionList(), ndims, numparts, TopoManager::printAllocation(), rank, ranks, TopoManager::rankToCoordinates(), TopoManager_createPartitions(), TopoManager_free(), TopoManager_getCoordinates(), TopoManager_getDimCount(), TopoManager_getDims(), TopoManager_getHopsBetweenPeRanks(), TopoManager_getPeCoordinates(), TopoManager_getPeRank(), TopoManager_getRanks(), TopoManager_init(), TopoManager_printAllocation(), TopoManager_reset(), and TopoManager_setNumThreads().
Referenced by _initCharm(), create_topoaware_partitions(), main(), and TopoManager_init().
bool _topoInitialized = false [static] |
Definition at line 402 of file TopoManager.C.
CmiNodeLock _topoLock = 0 |
Definition at line 403 of file TopoManager.C.
TopoManager* _tmgr = NULL |
Definition at line 404 of file TopoManager.C.
int _tpm_numpes = 0 |
Definition at line 406 of file TopoManager.C.
int _tpm_numthreads = 1 |
Definition at line 407 of file TopoManager.C.