|
| class | activate_cuda_device |
| |
| class | activate_device |
| |
| class | activate_hip_device |
| |
| class | activate_openmp_device |
| |
| struct | array_interface_tt |
| | traits for Numpy's array interface protocol More...
|
| |
| struct | array_interface_tt< char > |
| |
| struct | array_interface_tt< double > |
| |
| struct | array_interface_tt< float > |
| |
| struct | array_interface_tt< int > |
| |
| struct | array_interface_tt< long > |
| |
| struct | array_interface_tt< long long > |
| |
| struct | array_interface_tt< short > |
| |
| struct | array_interface_tt< unsigned char > |
| |
| struct | array_interface_tt< unsigned int > |
| |
| struct | array_interface_tt< unsigned long > |
| |
| struct | array_interface_tt< unsigned long long > |
| |
| struct | array_interface_tt< unsigned short > |
| |
| class | buffer |
| | A technology agnostic buffer that manages memory on CPUs, GPUs, and accelerators. More...
|
| |
| class | buffer_handle |
| |
| struct | buffer_handle_tt |
| | type traits for constructing SWIG wrapped objects More...
|
| |
| struct | buffer_handle_tt< char > |
| |
| struct | buffer_handle_tt< double > |
| |
| struct | buffer_handle_tt< float > |
| |
| struct | buffer_handle_tt< int > |
| |
| struct | buffer_handle_tt< long > |
| |
| struct | buffer_handle_tt< long long > |
| |
| struct | buffer_handle_tt< short > |
| |
| struct | buffer_handle_tt< unsigned char > |
| |
| struct | buffer_handle_tt< unsigned int > |
| |
| struct | buffer_handle_tt< unsigned long > |
| |
| struct | buffer_handle_tt< unsigned long long > |
| |
| struct | buffer_handle_tt< unsigned short > |
| |
| struct | cuda_malloc_allocator |
| |
| struct | cuda_malloc_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| |
| struct | cuda_malloc_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| |
| struct | cuda_malloc_async_allocator |
| |
| struct | cuda_malloc_async_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| |
| struct | cuda_malloc_async_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| |
| class | cuda_malloc_async_deleter |
| | a deleter for arrays allocated with the cuda_malloc_async_allocator More...
|
| |
| class | cuda_malloc_async_deleter< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | A deleter for arrays allocated with the cuda_malloc_async_allocator, specialized for numbers. More...
|
| |
| class | cuda_malloc_async_deleter< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with the cuda_malloc_async_allocator, specialized for objects More...
|
| |
| class | cuda_malloc_deleter |
| | a deleter for arrays allocated with cudaMalloc More...
|
| |
| class | cuda_malloc_deleter< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with cudaMalloc, specialized for numbers More...
|
| |
| class | cuda_malloc_deleter< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with cudaMalloc, specialized for objects More...
|
| |
| struct | cuda_malloc_host_allocator |
| |
| struct | cuda_malloc_host_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| |
| struct | cuda_malloc_host_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| |
| class | cuda_malloc_host_deleter |
| | a deleter for arrays allocated with cudaMallocHost More...
|
| |
| class | cuda_malloc_host_deleter< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with cudaMallocHost, specialized for numbers More...
|
| |
| class | cuda_malloc_host_deleter< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with cudaMallocHost, specialized for objects More...
|
| |
| struct | cuda_malloc_uva_allocator |
| | a class for allocating arrays with cuda_malloc_uva More...
|
| |
| struct | cuda_malloc_uva_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with cuda_malloc_uva, specialized for numbers More...
|
| |
| struct | cuda_malloc_uva_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with cuda_malloc_uva, specialized for objects More...
|
| |
| class | cuda_malloc_uva_deleter |
| | a deleter for arrays allocated with cuda_malloc_uva More...
|
| |
| class | cuda_malloc_uva_deleter< T, typename std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with cuda_malloc_uva, specialized for numbers More...
|
| |
| class | cuda_malloc_uva_deleter< T, typename std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with cuda_malloc_uva, specialized for objects More...
|
| |
| class | gil_state |
| | A RAII helper for managing the Python GIL. More...
|
| |
| struct | hip_malloc_allocator |
| | a class for allocating arrays with hip_malloc More...
|
| |
| struct | hip_malloc_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with hip_malloc, specialized for numbers More...
|
| |
| struct | hip_malloc_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with hip_malloc, specialized for objects More...
|
| |
| class | hip_malloc_deleter |
| | a deleter for arrays allocated with hip_malloc More...
|
| |
| class | hip_malloc_deleter< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with hip_malloc, specialized for numbers More...
|
| |
| class | hip_malloc_deleter< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with hip_malloc, specialized for objects More...
|
| |
| struct | hip_malloc_uva_allocator |
| | a class for allocating arrays with hip_malloc_uva More...
|
| |
| struct | hip_malloc_uva_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with hip_malloc_uva, specialized for numbers More...
|
| |
| struct | hip_malloc_uva_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with hip_malloc_uva, specialized for objects More...
|
| |
| class | hip_malloc_uva_deleter |
| | a deleter for arrays allocated with hip_malloc_uva More...
|
| |
| class | hip_malloc_uva_deleter< T, typename std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with hip_malloc_uva, specialized for numbers More...
|
| |
| class | hip_malloc_uva_deleter< T, typename std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with hip_malloc_uva, specialized for objects More...
|
| |
| struct | malloc_allocator |
| | a class for allocating arrays with malloc More...
|
| |
| struct | malloc_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with malloc, specialized for numbers More...
|
| |
| struct | malloc_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with malloc, specialized for objects More...
|
| |
| class | malloc_deleter |
| | a deleter for arrays allocated with malloc More...
|
| |
| class | malloc_deleter< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with malloc, specialized for numbers More...
|
| |
| class | malloc_deleter< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with malloc, specialized for objects More...
|
| |
| struct | new_allocator |
| | a class for allocating arrays with new More...
|
| |
| class | new_deleter |
| | a deleter for arrays allocated with new More...
|
| |
| struct | openmp_allocator |
| | a class for allocating arrays with OpenMP More...
|
| |
| struct | openmp_allocator< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with OpenMP, specialized for numbers More...
|
| |
| struct | openmp_allocator< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a class for allocating arrays with OpenMP, specialized for objects More...
|
| |
| class | openmp_deleter |
| | a deleter for arrays allocated with OpenMP More...
|
| |
| class | openmp_deleter< T, std::enable_if< std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with OpenMP, specialized for numbers More...
|
| |
| class | openmp_deleter< T, std::enable_if<!std::is_arithmetic< T >::value >::type > |
| | a deleter for arrays allocated with OpenMP, specialized for objects More...
|
| |
| class | python_deleter |
| | a deleter for memory managed from within Python More...
|
| |
| class | stream |
| | A wrapper around technology specific streams. More...
|
| |
|
| const HAMR_EXPORT char * | get_allocator_name (buffer_allocator alloc) |
| | return the human readable name of the allocator More...
|
| |
| HAMR_EXPORT int | cpu_accessible (buffer_allocator alloc) |
| |
| HAMR_EXPORT int | cuda_accessible (buffer_allocator alloc) |
| |
| HAMR_EXPORT int | hip_accessible (buffer_allocator alloc) |
| |
| HAMR_EXPORT int | openmp_accessible (buffer_allocator alloc) |
| |
| HAMR_EXPORT void | assert_valid_allocator (buffer_allocator alloc) |
| | asserts that the passed value is one of the known allocators More...
|
| |
| HAMR_EXPORT buffer_allocator | get_device_allocator () |
| | get the allocator type most suitable for the current build configuration. More...
|
| |
| HAMR_EXPORT buffer_allocator | get_host_allocator () |
| | get the allocator type most suitable for the current build configuration. More...
|
| |
|
template<typename T > |
| std::ostream & | operator<< (std::ostream &os, const buffer_handle< T > &buf) |
| |
| template<typename T > |
| hamr::const_p_buffer< T > | const_ptr (const hamr::p_buffer< T > &v) |
| | a helper for explicitly casting to a const buffer pointer. More...
|
| |
| template<typename T > |
| const hamr::buffer< T > & | ref_to (const hamr::const_p_buffer< T > &ptr) |
| | a helper for getting a reference to pointed to hamr::buffer More...
|
| |
| template<typename T > |
| hamr::buffer< T > & | ref_to (const hamr::p_buffer< T > &ptr) |
| | a helper for getting a reference to pointed to hamr::buffer More...
|
| |
| template<typename TT , typename... PP> |
| auto | get_cpu_accessible (const TT &b, PP &&... args) |
| |
| template<typename TT , typename... PP> |
| auto | get_cuda_accessible (const TT &b, PP &&... args) |
| |
| template<typename TT , typename... PP> |
| auto | get_hip_accessible (const TT &b, PP &&... args) |
| |
| template<typename TT , typename... PP> |
| auto | get_openmp_accessible (const TT &b, PP &&... args) |
| |
| template<typename TT , typename... PP> |
| auto | get_device_accessible (const TT &b, PP &&... args) |
| |
| template<typename... PP> |
| auto | data (PP &&... args) |
| |
| template<typename... PP> |
| auto | pointer (PP &&... args) |
| |
| template<typename... PP> |
| void | synchronize (PP &&... args) |
| |
| template<typename NT > |
| auto | make_buffer (buffer_allocator alloc, size_t n_elem) |
| |
| template<typename NT > |
| auto | make_buffer (buffer_allocator alloc, size_t n_elem, const NT &ival) |
| |
| int HAMR_EXPORT | get_cuda_device_identifier (int &dev_id) |
| | gets the device identifier for the first GPU. More...
|
| |
| int HAMR_EXPORT | get_cuda_cpu_identifier (int &dev_id) |
| | gets the device identifier for the CPU. More...
|
| |
| int HAMR_EXPORT | get_active_cuda_device (int &dev_id) |
| | gets the currently atcive CUDA device. More...
|
| |
| int HAMR_EXPORT | set_active_cuda_device (int dev_id) |
| | sets the active CUDA device. returns zero if successful. More...
|
| |
| int HAMR_EXPORT | get_cuda_device (const void *ptr, int &device_id) |
| | gets the device that owns the given pointer. More...
|
| |
| int HAMR_EXPORT | get_device_identifier (int &dev_id) |
| | gets the device identifier for the first GPU. More...
|
| |
| int HAMR_EXPORT | get_cpu_identifier (int &dev_id) |
| | gets the device identifier for the CPU. More...
|
| |
| int HAMR_EXPORT | get_active_device (int &dev_id) |
| | gets the currently atcive device. More...
|
| |
| int HAMR_EXPORT | set_active_device (int dev_id) |
| | sets the active device. returns zero if successful. More...
|
| |
| int HAMR_EXPORT | get_device (const void *ptr, int &device_id) |
| | gets the device that owns the given pointer. More...
|
| |
| constexpr HAMR_EXPORT int | get_verbose () |
| | returns the value of the HAMR_VERBOSE environment variable More...
|
| |
| int HAMR_EXPORT | get_hip_device_identifier (int &dev_id) |
| | gets the device identifier for the first GPU. More...
|
| |
| int HAMR_EXPORT | get_hip_cpu_identifier (int &dev_id) |
| | gets the device identifier for the CPU. More...
|
| |
| int HAMR_EXPORT | get_active_hip_device (int &dev_id) |
| | gets the currently atcive HIP device. returns zero if successful. More...
|
| |
| int HAMR_EXPORT | set_active_hip_device (int dev_id) |
| | sets the active HIP device. returns zero if successful. More...
|
| |
| int HAMR_EXPORT | get_hip_device (const void *ptr, int &device_id) |
| | gets the device that owns the given pointer. More...
|
| |
| int HAMR_EXPORT | get_openmp_device_identifier (int &dev_id) |
| | gets the device identifier for the first GPU. More...
|
| |
| int HAMR_EXPORT | get_openmp_cpu_identifier (int &dev_id) |
| | gets the device identifier for the CPU. More...
|
| |
| int HAMR_EXPORT | get_active_openmp_device (int &dev_id) |
| | gets the currently atcive HIP device. returns zero if successful. More...
|
| |
| int HAMR_EXPORT | set_active_openmp_device (int dev_id) |
| | sets the active HIP device. returns zero if successful. More...
|
| |
| int HAMR_EXPORT | get_openmp_device (const void *ptr, int &device_id) |
| | gets the device that owns the given pointer. More...
|
| |
heterogeneous accelerator memory resource