Itoyori  v0.0.1
ityr::common::topology Namespace Reference

Classes

class  topology
 

Typedefs

using rank_t = int
 
using instance = singleton< topology >
 

Functions

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

Typedef Documentation

◆ instance

◆ rank_t

using ityr::common::topology::rank_t = typedef int

Function Documentation

◆ inter2global_rank()

rank_t ityr::common::topology::inter2global_rank ( rank_t  inter_rank)
inline

◆ inter_mpicomm()

MPI_Comm ityr::common::topology::inter_mpicomm ( )
inline

◆ inter_my_rank()

rank_t ityr::common::topology::inter_my_rank ( )
inline

◆ inter_n_ranks()

rank_t ityr::common::topology::inter_n_ranks ( )
inline

◆ inter_rank()

rank_t ityr::common::topology::inter_rank ( rank_t  global_rank)
inline

◆ intra2global_rank()

rank_t ityr::common::topology::intra2global_rank ( rank_t  intra_rank)
inline

◆ intra_mpicomm()

MPI_Comm ityr::common::topology::intra_mpicomm ( )
inline

◆ intra_my_rank()

rank_t ityr::common::topology::intra_my_rank ( )
inline

◆ intra_n_ranks()

rank_t ityr::common::topology::intra_n_ranks ( )
inline

◆ intra_rank()

rank_t ityr::common::topology::intra_rank ( rank_t  global_rank)
inline

◆ is_locally_accessible()

bool ityr::common::topology::is_locally_accessible ( rank_t  target_global_rank)
inline

◆ mpicomm()

MPI_Comm ityr::common::topology::mpicomm ( )
inline

◆ my_rank()

rank_t ityr::common::topology::my_rank ( )
inline

◆ n_ranks()

rank_t ityr::common::topology::n_ranks ( )
inline

◆ numa_enabled()

bool ityr::common::topology::numa_enabled ( )
inline

◆ numa_my_node()

numa::node_t ityr::common::topology::numa_my_node ( )
inline

◆ numa_n_nodes()

numa::node_t ityr::common::topology::numa_n_nodes ( )
inline

◆ numa_node()

numa::node_t ityr::common::topology::numa_node ( rank_t  intra_rank)
inline

◆ numa_nodemask_all()

const numa::node_bitmask& ityr::common::topology::numa_nodemask_all ( )
inline