CPPuddle
Classes | Namespaces | Typedefs
hip_recycling_allocators.hpp File Reference
#include "buffer_management_interface.hpp"
#include "detail/hip_underlying_allocators.hpp"
Include dependency graph for hip_recycling_allocators.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cppuddle::memory_recycling::device_selection::select_device_functor< T, detail::hip_pinned_allocator< T > >
 GPU device selector using the HIP API for pinned host allocations. More...
 
struct  cppuddle::memory_recycling::device_selection::select_device_functor< T, detail::hip_device_allocator< T > >
 GPU selector using the HIP API for pinned host allocations. More...
 

Namespaces

 cppuddle
 
 cppuddle::memory_recycling
 CPPuddle namespace containing the memory recycling functionality.
 
 cppuddle::memory_recycling::device_selection
 

Typedefs

template<typename T , std::enable_if_t< std::is_trivial< T >::value, int > = 0>
using cppuddle::memory_recycling::recycle_allocator_hip_host = detail::aggressive_recycle_allocator< T, detail::hip_pinned_allocator< T > >
 Recycling allocator for HIP pinned host memory. More...
 
template<typename T , std::enable_if_t< std::is_trivial< T >::value, int > = 0>
using cppuddle::memory_recycling::recycle_allocator_hip_device = detail::recycle_allocator< T, detail::hip_device_allocator< T > >
 Recycling allocator for HIP device memory. More...
 

Detailed Description

Contains the HIP recycling allocators (in the form of type aliases) for both pinned host memory and device memory. Also contains the required device selector for MultiGPU setups with these allocators.