CPPuddle
Classes | Namespaces | Functions
hip_underlying_allocators.hpp File Reference
#include <hip/hip_runtime.h>
#include <stdexcept>
#include <string>
Include dependency graph for hip_underlying_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::detail::hip_pinned_allocator< T >
 Underlying host allocator for HIP pinned memory. More...
 
struct  cppuddle::memory_recycling::detail::hip_device_allocator< T >
 Underlying allocator for HIP device memory. More...
 

Namespaces

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

Functions

template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator== (hip_pinned_allocator< T > const &, hip_pinned_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator!= (hip_pinned_allocator< T > const &, hip_pinned_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator== (hip_device_allocator< T > const &, hip_device_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator!= (hip_device_allocator< T > const &, hip_device_allocator< U > const &) noexcept