Itoyori  v0.0.1
ityr::ori::noncoll_mem Class Referencefinal

#include <noncoll_mem.hpp>

Inheritance diagram for ityr::ori::noncoll_mem:
Collaboration diagram for ityr::ori::noncoll_mem:

Public Member Functions

 noncoll_mem (std::size_t local_max_size, std::size_t alignment)
 
const common::rma::winwin () const
 
bool has (const void *p) const
 
common::topology::rank_t get_owner (const void *p) const
 
std::size_t get_disp (const void *p) const
 
void * do_allocate (std::size_t bytes, std::size_t alignment=alignof(max_align_t)) override
 
void do_deallocate (void *p, std::size_t bytes, std::size_t alignment=alignof(max_align_t)) override
 
bool do_is_equal (const common::pmr::memory_resource &other) const noexcept override
 
void local_deallocate (void *p, std::size_t bytes, std::size_t alignment=alignof(max_align_t))
 
void remote_deallocate (void *p, std::size_t bytes[[maybe_unused]], int target_rank, std::size_t alignment=alignof(max_align_t))
 
void collect_deallocated ()
 
bool is_locally_accessible (const void *p) const
 
bool is_remotely_freed (void *p, std::size_t alignment=alignof(max_align_t))
 
bool empty ()
 

Constructor & Destructor Documentation

◆ noncoll_mem()

ityr::ori::noncoll_mem::noncoll_mem ( std::size_t  local_max_size,
std::size_t  alignment 
)
inline

Member Function Documentation

◆ collect_deallocated()

void ityr::ori::noncoll_mem::collect_deallocated ( )
inline

◆ do_allocate()

void* ityr::ori::noncoll_mem::do_allocate ( std::size_t  bytes,
std::size_t  alignment = alignof(max_align_t) 
)
inlineoverride

◆ do_deallocate()

void ityr::ori::noncoll_mem::do_deallocate ( void *  p,
std::size_t  bytes,
std::size_t  alignment = alignof(max_align_t) 
)
inlineoverride

◆ do_is_equal()

bool ityr::ori::noncoll_mem::do_is_equal ( const common::pmr::memory_resource &  other) const
inlineoverridenoexcept

◆ empty()

bool ityr::ori::noncoll_mem::empty ( )
inline

◆ get_disp()

std::size_t ityr::ori::noncoll_mem::get_disp ( const void *  p) const
inline

◆ get_owner()

common::topology::rank_t ityr::ori::noncoll_mem::get_owner ( const void *  p) const
inline

◆ has()

bool ityr::ori::noncoll_mem::has ( const void *  p) const
inline

◆ is_locally_accessible()

bool ityr::ori::noncoll_mem::is_locally_accessible ( const void *  p) const
inline

◆ is_remotely_freed()

bool ityr::ori::noncoll_mem::is_remotely_freed ( void *  p,
std::size_t  alignment = alignof(max_align_t) 
)
inline

◆ local_deallocate()

void ityr::ori::noncoll_mem::local_deallocate ( void *  p,
std::size_t  bytes,
std::size_t  alignment = alignof(max_align_t) 
)
inline

◆ remote_deallocate()

void ityr::ori::noncoll_mem::remote_deallocate ( void *  p,
std::size_t bytes]  [[maybe_unused],
int  target_rank,
std::size_t  alignment = alignof(max_align_t) 
)
inline

◆ win()

const common::rma::win& ityr::ori::noncoll_mem::win ( ) const
inline

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