CPPuddle
Loading...
Searching...
No Matches
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  cuda_managed_memory_allocator
 Underlying allocator for CUDA managed 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== (cuda_managed_memory_allocator< T > const &, cuda_managed_memory_allocator< U > const &) noexcept
template<class T, class U>
constexpr bool operator!= (cuda_managed_memory_allocator< T > const &, cuda_managed_memory_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/9]

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

◆ operator!=() [2/9]

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

◆ operator!=() [3/9]

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

◆ operator!=() [4/9]

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

◆ operator!=() [5/9]

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

◆ operator!=() [6/9]

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

◆ operator!=() [7/9]

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

◆ operator!=() [8/9]

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

◆ operator!=() [9/9]

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

◆ operator==() [1/9]

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

◆ operator==() [2/9]

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

◆ operator==() [3/9]

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

◆ operator==() [4/9]

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

◆ operator==() [5/9]

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

◆ operator==() [6/9]

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

◆ operator==() [7/9]

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

◆ operator==() [8/9]

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

◆ operator==() [9/9]

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