OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Simple policy when no topology is available or needed. More...
#include <NoCommTopology.h>
Public Member Functions | |
NoCommTopology (MPI_Comm comm=MPI_COMM_WORLD) | |
virtual | ~NoCommTopology () |
void | discover () |
every implementation must provide a discover method More... | |
![]() | |
CommTopology (MPI_Comm comm=MPI_COMM_WORLD) | |
virtual | ~CommTopology () |
int | getRank () const |
int | getNP () const |
unsigned int | getNumDimensions () const |
unsigned int | getCoreID () const |
std::vector< unsigned int > | getCoordinates () const |
std::vector< unsigned int > | getDimensions () const |
Additional Inherited Members | |
![]() | |
unsigned int | hwID_ |
unsigned int | num_dims_ |
unsigned int | my_core_id_ |
std::vector< unsigned int > | coords_ |
std::vector< unsigned int > | dims_ |
Simple policy when no topology is available or needed.
Definition at line 9 of file NoCommTopology.h.
|
inline |
Definition at line 13 of file NoCommTopology.h.
|
inlinevirtual |
Definition at line 17 of file NoCommTopology.h.
|
inlinevirtual |
every implementation must provide a discover method
Implements CommTopology.
Definition at line 20 of file NoCommTopology.h.