Itoyori  v0.0.1
ityr::ori::mem_mapper::block< BlockSize > Class Template Reference

#include <mem_mapper.hpp>

Inheritance diagram for ityr::ori::mem_mapper::block< BlockSize >:
Collaboration diagram for ityr::ori::mem_mapper::block< BlockSize >:

Public Member Functions

 block (std::size_t size, int n_inter_ranks, int n_intra_ranks)
 
std::size_t block_size () const override
 
std::size_t local_size (int inter_rank) const override
 
std::size_t effective_size () const override
 
segment get_segment (std::size_t offset) const override
 
numa_segment get_numa_segment (int inter_rank, std::size_t pm_offset) const override
 
bool should_map_all_home () const override
 
- Public Member Functions inherited from ityr::ori::mem_mapper::base
 base (std::size_t size, int n_inter_ranks, int n_intra_ranks)
 
virtual ~base ()=default
 

Additional Inherited Members

- Protected Attributes inherited from ityr::ori::mem_mapper::base
std::size_t size_
 
int n_inter_ranks_
 
int n_intra_ranks_
 

Constructor & Destructor Documentation

◆ block()

template<block_size_t BlockSize>
ityr::ori::mem_mapper::block< BlockSize >::block ( std::size_t  size,
int  n_inter_ranks,
int  n_intra_ranks 
)
inline

Member Function Documentation

◆ block_size()

template<block_size_t BlockSize>
std::size_t ityr::ori::mem_mapper::block< BlockSize >::block_size ( ) const
inlineoverridevirtual

◆ effective_size()

template<block_size_t BlockSize>
std::size_t ityr::ori::mem_mapper::block< BlockSize >::effective_size ( ) const
inlineoverridevirtual

◆ get_numa_segment()

template<block_size_t BlockSize>
numa_segment ityr::ori::mem_mapper::block< BlockSize >::get_numa_segment ( int  inter_rank,
std::size_t  pm_offset 
) const
inlineoverridevirtual

◆ get_segment()

template<block_size_t BlockSize>
segment ityr::ori::mem_mapper::block< BlockSize >::get_segment ( std::size_t  offset) const
inlineoverridevirtual

◆ local_size()

template<block_size_t BlockSize>
std::size_t ityr::ori::mem_mapper::block< BlockSize >::local_size ( int  inter_rank) const
inlineoverridevirtual

◆ should_map_all_home()

template<block_size_t BlockSize>
bool ityr::ori::mem_mapper::block< BlockSize >::should_map_all_home ( ) const
inlineoverridevirtual

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