Itoyori  v0.0.1
ori.hpp File Reference
Include dependency graph for ori.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ityr::ori::ori
 

Namespaces

 ityr
 
 ityr::ori
 

Typedefs

using ityr::ori::instance = common::singleton< ori >
 
using ityr::ori::release_handler = core::instance::instance_type::release_handler
 

Functions

void ityr::ori::init (MPI_Comm comm=MPI_COMM_WORLD)
 
void ityr::ori::fini ()
 
template<typename T >
global_ptr< T > ityr::ori::malloc_coll (std::size_t count)
 
template<typename T , template< block_size_t > typename MemMapper, typename... MemMapperArgs>
global_ptr< T > ityr::ori::malloc_coll (std::size_t count, MemMapperArgs &&... mmargs)
 
template<typename T >
global_ptr< T > ityr::ori::malloc (std::size_t count)
 
template<typename T >
void ityr::ori::free_coll (global_ptr< T > ptr)
 
template<typename T >
void ityr::ori::free (global_ptr< T > ptr, std::size_t count)
 
template<typename ConstT , typename T >
void ityr::ori::get (global_ptr< ConstT > from_ptr, T *to_ptr, std::size_t count)
 
template<typename T >
void ityr::ori::put (const T *from_ptr, global_ptr< T > to_ptr, std::size_t count)
 
template<bool SkipFetch, typename T >
T * ityr::ori::checkout_with_getput (global_ptr< T > ptr, std::size_t count)
 
template<typename T >
std::pair< T *, bool > ityr::ori::checkout_nb (global_ptr< T > ptr, std::size_t count, mode::read_t)
 
template<typename T >
std::pair< T *, bool > ityr::ori::checkout_nb (global_ptr< T > ptr, std::size_t count, mode::write_t)
 
template<typename T >
std::pair< T *, bool > ityr::ori::checkout_nb (global_ptr< T > ptr, std::size_t count, mode::read_write_t)
 
void ityr::ori::checkout_complete ()
 
template<typename T , typename Mode >
auto ityr::ori::checkout (global_ptr< T > ptr, std::size_t count, Mode mode)
 
template<bool RegisterDirty, typename T >
void ityr::ori::checkin_with_getput (T *raw_ptr, std::size_t count)
 
template<typename T >
void ityr::ori::checkin (T *raw_ptr, std::size_t count, mode::read_t)
 
template<typename T >
void ityr::ori::checkin (T *raw_ptr, std::size_t count, mode::write_t)
 
template<typename T >
void ityr::ori::checkin (T *raw_ptr, std::size_t count, mode::read_write_t)
 
void ityr::ori::release ()
 
auto ityr::ori::release_lazy ()
 
void ityr::ori::acquire ()
 
void ityr::ori::acquire (release_handler rh)
 
template<typename T >
void ityr::ori::set_readonly_coll (global_ptr< T > ptr, std::size_t count)
 
template<typename T >
void ityr::ori::unset_readonly_coll (global_ptr< T > ptr, std::size_t count)
 
void ityr::ori::poll ()
 
void ityr::ori::collect_deallocated ()
 
void ityr::ori::cache_prof_begin ()
 
void ityr::ori::cache_prof_end ()
 
void ityr::ori::cache_prof_print ()
 
void * ityr::ori::file_mem_alloc_coll (const std::string &fpath, bool mlock)
 
void ityr::ori::file_mem_free_coll (void *addr)
 
file_mem & ityr::ori::file_mem_get (void *addr)
 

Variables

constexpr block_size_t ityr::ori::block_size = ITYR_ORI_BLOCK_SIZE
 
constexpr bool ityr::ori::force_getput = ITYR_ORI_FORCE_GETPUT