CPPuddle
Loading...
Searching...
No Matches
hip_recycling_allocators.hpp File Reference
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

namespace  cppuddle
namespace  cppuddle::memory_recycling
 CPPuddle namespace containing the memory recycling functionality.
namespace  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
 Recycling allocator for HIP pinned host memory.
template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0>
using cppuddle::memory_recycling::recycle_allocator_hip_device
 Recycling allocator for HIP device memory.

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.