Itoyori  v0.0.1
topology.hpp File Reference
#include <vector>
#include "ityr/common/util.hpp"
#include "ityr/common/mpi_util.hpp"
#include "ityr/common/options.hpp"
#include "ityr/common/numa.hpp"
Include dependency graph for topology.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ityr::common::topology::topology
 

Namespaces

 ityr
 
 ityr::common
 
 ityr::common::topology
 

Typedefs

using ityr::common::topology::rank_t = int
 
using ityr::common::topology::instance = singleton< topology >
 

Functions

MPI_Comm ityr::common::topology::mpicomm ()
 
rank_t ityr::common::topology::my_rank ()
 
rank_t ityr::common::topology::n_ranks ()
 
MPI_Comm ityr::common::topology::intra_mpicomm ()
 
rank_t ityr::common::topology::intra_my_rank ()
 
rank_t ityr::common::topology::intra_n_ranks ()
 
MPI_Comm ityr::common::topology::inter_mpicomm ()
 
rank_t ityr::common::topology::inter_my_rank ()
 
rank_t ityr::common::topology::inter_n_ranks ()
 
rank_t ityr::common::topology::intra_rank (rank_t global_rank)
 
rank_t ityr::common::topology::inter_rank (rank_t global_rank)
 
rank_t ityr::common::topology::intra2global_rank (rank_t intra_rank)
 
rank_t ityr::common::topology::inter2global_rank (rank_t inter_rank)
 
bool ityr::common::topology::is_locally_accessible (rank_t target_global_rank)
 
bool ityr::common::topology::numa_enabled ()
 
numa::node_t ityr::common::topology::numa_my_node ()
 
numa::node_t ityr::common::topology::numa_n_nodes ()
 
numa::node_t ityr::common::topology::numa_node (rank_t intra_rank)
 
const numa::node_bitmask & ityr::common::topology::numa_nodemask_all ()