|
Grid 0.7.0
|
#include <SharedMemory.h>
Static Public Member Functions | |
| static int | ShmSetup (void) |
| static int | ShmAlloc (void) |
| static uint64_t | ShmAllocBytes (void) |
| static void | Init (Grid_MPI_Comm comm) |
| static void | OptimalCommunicator (const Coordinate &processors, Grid_MPI_Comm &optimal_comm, Coordinate &ShmDims) |
| static void | OptimalCommunicatorHypercube (const Coordinate &processors, Grid_MPI_Comm &optimal_comm, Coordinate &ShmDims) |
| static void | OptimalCommunicatorSharedMemory (const Coordinate &processors, Grid_MPI_Comm &optimal_comm, Coordinate &ShmDims) |
| static void | GetShmDims (const Coordinate &WorldDims, Coordinate &ShmDims) |
| static void | SharedMemoryAllocate (uint64_t bytes, int flags) |
| static void | SharedMemoryFree (void) |
| static void | SharedMemoryZero (void *dest, size_t bytes) |
Static Public Attributes | |
| static int | HPEhypercube |
| static uint64_t | MAX_MPI_SHM_BYTES |
| static int | Hugepages |
| static std::vector< void * > | WorldShmCommBufs |
| static Grid_MPI_Comm | WorldComm |
| static int | WorldRank |
| static int | WorldSize |
| static Grid_MPI_Comm | WorldShmComm |
| static int | WorldShmRank |
| static int | WorldShmSize |
| static int | WorldNodes |
| static int | WorldNode |
| static std::vector< int > | WorldShmRanks |
Static Private Attributes | |
| static const int | MAXLOG2RANKSPERNODE |
| static int | _ShmSetup |
| static int | _ShmAlloc |
| static uint64_t | _ShmAllocBytes |
Definition at line 87 of file SharedMemory.h.
|
inlinestatic |
Definition at line 103 of file SharedMemory.h.
References _ShmSetup.
|
inlinestatic |
Definition at line 104 of file SharedMemory.h.
References _ShmAlloc.
Referenced by SharedMemory::SetCommunicator().
|
inlinestatic |
Definition at line 105 of file SharedMemory.h.
References _ShmAllocBytes.
Referenced by SharedMemory::SetCommunicator().
|
static |
Definition at line 163 of file SharedMemoryMPI.cc.
References _ShmSetup, Mheader, WorldComm, WorldNode, WorldNodes, WorldRank, WorldShmComm, WorldShmRank, WorldShmRanks, WorldShmSize, and WorldSize.
Referenced by CartesianCommunicator::Init().
|
static |
Definition at line 272 of file SharedMemoryMPI.cc.
References HPEhypercube, OptimalCommunicatorHypercube(), and OptimalCommunicatorSharedMemory().
Referenced by CartesianCommunicator::CartesianCommunicator().
|
static |
Definition at line 289 of file SharedMemoryMPI.cc.
References BinaryToGray(), GetShmDims(), Log2Size(), MAXLOG2RANKSPERNODE, AcceleratorVector< _T, MaxEntries >::size(), WorldComm, WorldNode, WorldShmRank, WorldShmSize, and WorldSize.
Referenced by OptimalCommunicator().
|
static |
Definition at line 410 of file SharedMemoryMPI.cc.
References GetShmDims(), AcceleratorVector< _T, MaxEntries >::size(), WorldComm, WorldNode, WorldShmRank, and WorldSize.
Referenced by OptimalCommunicator().
|
static |
Definition at line 121 of file SharedMemory.cc.
References divides(), GridCmdOptionIntVector(), AcceleratorVector< _T, MaxEntries >::size(), and WorldShmSize.
Referenced by OptimalCommunicatorHypercube(), and OptimalCommunicatorSharedMemory().
|
static |
Definition at line 760 of file SharedMemoryMPI.cc.
References _ShmAlloc, _ShmAllocBytes, _ShmSetup, Mheader, WorldShmComm, WorldShmCommBufs, and WorldShmSize.
Referenced by CartesianCommunicator::Init().
|
static |
Definition at line 59 of file SharedMemory.cc.
References _ShmAlloc, _ShmAllocBytes, WorldShmCommBufs, and WorldShmSize.
|
static |
Definition at line 879 of file SharedMemoryMPI.cc.
References acceleratorMemSet().
|
staticprivate |
Definition at line 89 of file SharedMemory.h.
Referenced by OptimalCommunicatorHypercube().
|
staticprivate |
Definition at line 93 of file SharedMemory.h.
Referenced by Init(), NAMESPACE_BEGIN(), SharedMemoryAllocate(), and ShmSetup().
|
staticprivate |
Definition at line 94 of file SharedMemory.h.
Referenced by NAMESPACE_BEGIN(), SharedMemoryAllocate(), SharedMemoryFree(), and ShmAlloc().
|
staticprivate |
Definition at line 95 of file SharedMemory.h.
Referenced by NAMESPACE_BEGIN(), SharedMemoryAllocate(), SharedMemoryFree(), and ShmAllocBytes().
|
static |
Definition at line 101 of file SharedMemory.h.
Referenced by Grid_init(), NAMESPACE_BEGIN(), and OptimalCommunicator().
|
static |
Definition at line 106 of file SharedMemory.h.
Referenced by Grid_init(), CartesianCommunicator::Init(), and NAMESPACE_BEGIN().
|
static |
Definition at line 107 of file SharedMemory.h.
Referenced by Grid_init(), CartesianCommunicator::Init(), and NAMESPACE_BEGIN().
|
static |
Definition at line 109 of file SharedMemory.h.
Referenced by NAMESPACE_BEGIN(), SharedMemory::SetCommunicator(), SharedMemoryAllocate(), and SharedMemoryFree().
|
static |
Definition at line 113 of file SharedMemory.h.
Referenced by Init(), NAMESPACE_BEGIN(), OptimalCommunicatorHypercube(), and OptimalCommunicatorSharedMemory().
|
static |
Definition at line 114 of file SharedMemory.h.
Referenced by Init(), and NAMESPACE_BEGIN().
|
static |
Definition at line 115 of file SharedMemory.h.
Referenced by Init(), NAMESPACE_BEGIN(), OptimalCommunicatorHypercube(), OptimalCommunicatorSharedMemory(), and SharedMemory::RankCount().
|
static |
Definition at line 117 of file SharedMemory.h.
Referenced by Init(), NAMESPACE_BEGIN(), and SharedMemoryAllocate().
|
static |
Definition at line 118 of file SharedMemory.h.
Referenced by FlightRecorder::CsumLog(), Init(), NAMESPACE_BEGIN(), FlightRecorder::NormLog(), OptimalCommunicatorHypercube(), OptimalCommunicatorSharedMemory(), FlightRecorder::recvLog(), FlightRecorder::ReductionLog(), SharedMemory::SetCommunicator(), and FlightRecorder::xmitLog().
|
static |
Definition at line 119 of file SharedMemory.h.
Referenced by GetShmDims(), Init(), NAMESPACE_BEGIN(), OptimalCommunicatorHypercube(), SharedMemoryAllocate(), and SharedMemoryFree().
|
static |
Definition at line 121 of file SharedMemory.h.
Referenced by Init(), NAMESPACE_BEGIN(), and SharedMemory::NodeCount().
|
static |
Definition at line 122 of file SharedMemory.h.
Referenced by Init(), NAMESPACE_BEGIN(), OptimalCommunicatorHypercube(), OptimalCommunicatorSharedMemory(), and SharedMemory::SharedMemoryTest().
|
static |
Definition at line 124 of file SharedMemory.h.
Referenced by Init(), and NAMESPACE_BEGIN().