CPPuddle
Classes | Functions
cppuddle::memory_recycling::detail Namespace Reference

Classes

class  buffer_interface
 Singleton interface to all buffer_managers. More...
 
struct  recycle_allocator
 
struct  aggressive_recycle_allocator
 Recycles not only allocations but also the contents of a buffer. More...
 
struct  cuda_pinned_allocator
 Underlying host allocator for CUDA pinned memory. More...
 
struct  cuda_device_allocator
 Underlying allocator for CUDA device memory. More...
 
struct  hip_pinned_allocator
 Underlying host allocator for HIP pinned memory. More...
 
struct  hip_device_allocator
 Underlying allocator for HIP device memory. More...
 
struct  sycl_host_default_allocator
 Underlying host allocator for SYCL pinned memory (using the sycl::default_selector{}) More...
 
struct  sycl_device_default_allocator
 Underlying allocator for SYCL device memory (using the sycl::default_selector{}) More...
 

Functions

template<typename T , typename U , typename Host_Allocator >
constexpr bool operator== (recycle_allocator< T, Host_Allocator > const &, recycle_allocator< U, Host_Allocator > const &) noexcept
 
template<typename T , typename U , typename Host_Allocator >
constexpr bool operator!= (recycle_allocator< T, Host_Allocator > const &, recycle_allocator< U, Host_Allocator > const &) noexcept
 
template<typename T , typename U , typename Host_Allocator >
constexpr bool operator== (aggressive_recycle_allocator< T, Host_Allocator > const &, aggressive_recycle_allocator< U, Host_Allocator > const &) noexcept
 
template<typename T , typename U , typename Host_Allocator >
constexpr bool operator!= (aggressive_recycle_allocator< T, Host_Allocator > const &, aggressive_recycle_allocator< U, Host_Allocator > const &) noexcept
 
template<class T , class U >
constexpr bool operator== (cuda_pinned_allocator< T > const &, cuda_pinned_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator!= (cuda_pinned_allocator< T > const &, cuda_pinned_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator== (cuda_device_allocator< T > const &, cuda_device_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator!= (cuda_device_allocator< T > const &, cuda_device_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator== (hip_pinned_allocator< T > const &, hip_pinned_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator!= (hip_pinned_allocator< T > const &, hip_pinned_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator== (hip_device_allocator< T > const &, hip_device_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator!= (hip_device_allocator< T > const &, hip_device_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator== (sycl_host_default_allocator< T > const &, sycl_host_default_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator!= (sycl_host_default_allocator< T > const &, sycl_host_default_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator== (sycl_device_default_allocator< T > const &, sycl_device_default_allocator< U > const &) noexcept
 
template<class T , class U >
constexpr bool operator!= (sycl_device_default_allocator< T > const &, sycl_device_default_allocator< U > const &) noexcept
 

Function Documentation

◆ operator!=() [1/8]

template<typename T , typename U , typename Host_Allocator >
constexpr bool cppuddle::memory_recycling::detail::operator!= ( aggressive_recycle_allocator< T, Host_Allocator > const &  ,
aggressive_recycle_allocator< U, Host_Allocator > const &   
)
constexprnoexcept

◆ operator!=() [2/8]

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

◆ operator!=() [3/8]

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

◆ operator!=() [4/8]

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

◆ operator!=() [5/8]

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

◆ operator!=() [6/8]

template<typename T , typename U , typename Host_Allocator >
constexpr bool cppuddle::memory_recycling::detail::operator!= ( recycle_allocator< T, Host_Allocator > const &  ,
recycle_allocator< U, Host_Allocator > const &   
)
constexprnoexcept

◆ operator!=() [7/8]

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

◆ operator!=() [8/8]

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

◆ operator==() [1/8]

template<typename T , typename U , typename Host_Allocator >
constexpr bool cppuddle::memory_recycling::detail::operator== ( aggressive_recycle_allocator< T, Host_Allocator > const &  ,
aggressive_recycle_allocator< U, Host_Allocator > const &   
)
constexprnoexcept

◆ operator==() [2/8]

template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator== ( cuda_device_allocator< T > const &  ,
cuda_device_allocator< U > const &   
)
constexprnoexcept

◆ operator==() [3/8]

template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator== ( cuda_pinned_allocator< T > const &  ,
cuda_pinned_allocator< U > const &   
)
constexprnoexcept

◆ operator==() [4/8]

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

◆ operator==() [5/8]

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

◆ operator==() [6/8]

template<typename T , typename U , typename Host_Allocator >
constexpr bool cppuddle::memory_recycling::detail::operator== ( recycle_allocator< T, Host_Allocator > const &  ,
recycle_allocator< U, Host_Allocator > const &   
)
constexprnoexcept

◆ operator==() [7/8]

template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator== ( sycl_device_default_allocator< T > const &  ,
sycl_device_default_allocator< U > const &   
)
constexprnoexcept

◆ operator==() [8/8]

template<class T , class U >
constexpr bool cppuddle::memory_recycling::detail::operator== ( sycl_host_default_allocator< T > const &  ,
sycl_host_default_allocator< U > const &   
)
constexprnoexcept