CPPuddle
Classes | Namespaces | Functions
buffer_management.hpp File Reference
#include <atomic>
#include <cassert>
#include <functional>
#include <iostream>
#include <list>
#include <memory>
#include <mutex>
#include <optional>
#include <stdexcept>
#include <type_traits>
#include <unordered_map>
#include "cppuddle/common/config.hpp"
Include dependency graph for buffer_management.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, Allocator >
 Default device selector - No MultGPU support. More...
 
class  cppuddle::memory_recycling::detail::buffer_interface
 Singleton interface to all buffer_managers. More...
 
struct  cppuddle::memory_recycling::detail::recycle_allocator< T, Host_Allocator >
 
struct  cppuddle::memory_recycling::detail::aggressive_recycle_allocator< T, Host_Allocator >
 Recycles not only allocations but also the contents of a buffer. More...
 

Namespaces

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

Functions

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 &) noexcept
 
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 &) noexcept
 
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 &) noexcept
 
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 &) noexcept