Information on the topology for allocating computing cores. More...
#include <arcane/impl/ParallelTopology.h>
Public Member Functions | |
| ParallelTopology (IParallelMng *pm) | |
| virtual | ~ParallelTopology () |
| Frees resources. | |
| virtual void | initialize () |
| Initializes the instance. This operation is collective. | |
| virtual IParallelMng * | parallelMng () const |
| Associated parallelism manager. | |
| virtual bool | isMasterMachine () const |
| Indicates if this rank is the master rank for a machine (node). | |
| virtual Int32ConstArrayView | machineRanks () const |
| List of ranks that are on the same machine. | |
| virtual Int32 | machineRank () const |
| Rank of this instance in the list of machines (nodes). | |
| virtual Int32ConstArrayView | masterMachineRanks () const |
| List of master ranks for each machine (node). | |
| virtual bool | isMasterProcess () const |
| Indicates if this rank is the master within the ranks of this process. | |
| virtual Int32ConstArrayView | processRanks () const |
| List of ranks that are in the same process (in multi-threading). | |
| virtual Int32 | processRank () const |
| Rank of this instance in the list of processes. | |
| virtual Int32ConstArrayView | masterProcessRanks () const |
| List of master ranks for each process. | |
| Public Member Functions inherited from Arcane::IParallelTopology | |
| virtual | ~IParallelTopology ()=default |
| Frees resources. | |
Private Member Functions | |
| void | _init () |
Information on the topology for allocating computing cores.
Before use, initialize() must be called, which is a collective operation.
Definition at line 38 of file ParallelTopology.h.
| Arcane::ParallelTopology::ParallelTopology | ( | IParallelMng * | pm | ) |
Definition at line 36 of file ParallelTopology.cc.
|
inlinevirtual |
Frees resources.
Definition at line 44 of file ParallelTopology.h.
|
private |
Definition at line 96 of file ParallelTopology.cc.
|
virtual |
Initializes the instance. This operation is collective.
Definition at line 49 of file ParallelTopology.cc.
Referenced by Arcane::ParallelMngUtilsFactoryBase::createTopology(), and Arcane::SequentialParallelMng::createTopology().
|
virtual |
Indicates if this rank is the master rank for a machine (node).
Implements Arcane::IParallelTopology.
Definition at line 211 of file ParallelTopology.cc.
|
virtual |
Indicates if this rank is the master within the ranks of this process.
Implements Arcane::IParallelTopology.
Definition at line 238 of file ParallelTopology.cc.
|
virtual |
Rank of this instance in the list of machines (nodes).
This rank is between 0 and masterMachineRanks().size().
Implements Arcane::IParallelTopology.
Definition at line 229 of file ParallelTopology.cc.
|
virtual |
List of ranks that are on the same machine.
Implements Arcane::IParallelTopology.
Definition at line 220 of file ParallelTopology.cc.
|
virtual |
List of master ranks for each machine (node).
This list is the same for all ranks.
Implements Arcane::IParallelTopology.
Definition at line 265 of file ParallelTopology.cc.
|
virtual |
List of master ranks for each process.
This list is the same for all ranks.
Implements Arcane::IParallelTopology.
Definition at line 274 of file ParallelTopology.cc.
|
virtual |
Associated parallelism manager.
Implements Arcane::IParallelTopology.
Definition at line 202 of file ParallelTopology.cc.
|
virtual |
Rank of this instance in the list of processes.
This rank is between 0 and masterProcessRanks().size().
Implements Arcane::IParallelTopology.
Definition at line 256 of file ParallelTopology.cc.
|
virtual |
List of ranks that are in the same process (in multi-threading).
Implements Arcane::IParallelTopology.
Definition at line 247 of file ParallelTopology.cc.
|
private |
Definition at line 70 of file ParallelTopology.h.
|
private |
Definition at line 71 of file ParallelTopology.h.
|
private |
Definition at line 68 of file ParallelTopology.h.
|
private |
Definition at line 66 of file ParallelTopology.h.
|
private |
Definition at line 72 of file ParallelTopology.h.
|
private |
Definition at line 73 of file ParallelTopology.h.
|
private |
Definition at line 65 of file ParallelTopology.h.
|
private |
Definition at line 69 of file ParallelTopology.h.
|
private |
Definition at line 67 of file ParallelTopology.h.