Itoyori  v0.0.1
ityr::common::remotable_resource Class Referencefinal

#include <allocator.hpp>

Inheritance diagram for ityr::common::remotable_resource:
Collaboration diagram for ityr::common::remotable_resource:

Public Member Functions

 remotable_resource (std::size_t local_max_size)
 
MPI_Win win () const
 
bool has (const void *p) const
 
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 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

◆ remotable_resource()

ityr::common::remotable_resource::remotable_resource ( std::size_t  local_max_size)
inline

Member Function Documentation

◆ collect_deallocated()

void ityr::common::remotable_resource::collect_deallocated ( )
inline

◆ do_allocate()

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

◆ do_deallocate()

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

◆ do_is_equal()

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

◆ empty()

bool ityr::common::remotable_resource::empty ( )
inline

◆ get_disp()

std::size_t ityr::common::remotable_resource::get_disp ( const void *  p) const
inline

◆ get_owner()

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

◆ has()

bool ityr::common::remotable_resource::has ( const void *  p) const
inline

◆ is_locally_accessible()

bool ityr::common::remotable_resource::is_locally_accessible ( const void *  p) const
inline

◆ is_remotely_freed()

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

◆ local_deallocate()

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

◆ remote_deallocate()

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

◆ win()

MPI_Win ityr::common::remotable_resource::win ( ) const
inline

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