HAMR
The Heterogeneous Accelerator Memory Resource
hamr_buffer_util.h File Reference

Go to the source code of this file.

Namespaces

 hamr
 heterogeneous accelerator memory resource
 

Functions

template<typename TT , typename... PP>
auto hamr::get_host_accessible (const TT &b, PP &&... args)
 
template<typename TT , typename... PP>
auto hamr::get_cuda_accessible (const TT &b, PP &&... args)
 
template<typename TT , typename... PP>
auto hamr::get_hip_accessible (const TT &b, PP &&... args)
 
template<typename TT , typename... PP>
auto hamr::get_openmp_accessible (const TT &b, PP &&... args)
 
template<typename TT , typename... PP>
auto hamr::get_device_accessible (const TT &b, PP &&... args)
 
template<typename... PP>
auto hamr::data (PP &&... args)
 
template<typename... PP>
auto hamr::pointer (PP &&... args)
 
template<typename... PP>
void hamr::synchronize (PP &&... args)
 
template<typename NT >
auto hamr::make_buffer (buffer_allocator alloc, size_t n_elem)
 
template<typename NT >
auto hamr::make_buffer (buffer_allocator alloc, size_t n_elem, const NT &ival)