Itoyori  v0.0.1
ityr::ori::mem_mapper::base Class Referenceabstract

#include <mem_mapper.hpp>

Inheritance diagram for ityr::ori::mem_mapper::base:

Public Member Functions

 base (std::size_t size, int n_inter_ranks, int n_intra_ranks)
 
virtual ~base ()=default
 
virtual std::size_t block_size () const =0
 
virtual std::size_t local_size (int inter_rank) const =0
 
virtual std::size_t effective_size () const =0
 
virtual segment get_segment (std::size_t offset) const =0
 
virtual numa_segment get_numa_segment (int inter_rank, std::size_t pm_offset) const =0
 
virtual bool should_map_all_home () const =0
 

Protected Attributes

std::size_t size_
 
int n_inter_ranks_
 
int n_intra_ranks_
 

Constructor & Destructor Documentation

◆ base()

ityr::ori::mem_mapper::base::base ( std::size_t  size,
int  n_inter_ranks,
int  n_intra_ranks 
)
inline

◆ ~base()

virtual ityr::ori::mem_mapper::base::~base ( )
virtualdefault

Member Function Documentation

◆ block_size()

virtual std::size_t ityr::ori::mem_mapper::base::block_size ( ) const
pure virtual

◆ effective_size()

virtual std::size_t ityr::ori::mem_mapper::base::effective_size ( ) const
pure virtual

◆ get_numa_segment()

virtual numa_segment ityr::ori::mem_mapper::base::get_numa_segment ( int  inter_rank,
std::size_t  pm_offset 
) const
pure virtual

◆ get_segment()

virtual segment ityr::ori::mem_mapper::base::get_segment ( std::size_t  offset) const
pure virtual

◆ local_size()

virtual std::size_t ityr::ori::mem_mapper::base::local_size ( int  inter_rank) const
pure virtual

◆ should_map_all_home()

virtual bool ityr::ori::mem_mapper::base::should_map_all_home ( ) const
pure virtual

Member Data Documentation

◆ n_inter_ranks_

int ityr::ori::mem_mapper::base::n_inter_ranks_
protected

◆ n_intra_ranks_

int ityr::ori::mem_mapper::base::n_intra_ranks_
protected

◆ size_

std::size_t ityr::ori::mem_mapper::base::size_
protected

The documentation for this class was generated from the following file: