CPPuddle
Classes | Namespaces | Typedefs
aligned_recycling_allocators.hpp File Reference
#include <boost/align/aligned_allocator.hpp>
#include "buffer_management_interface.hpp"
Include dependency graph for aligned_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, boost::alignment::aligned_allocator< T, alignement > >
 

Namespaces

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

Typedefs

template<typename T , std::size_t alignement, std::enable_if_t< std::is_trivial< T >::value, int > = 0>
using cppuddle::memory_recycling::recycle_aligned = detail::recycle_allocator< T, boost::alignment::aligned_allocator< T, alignement > >
 Recycling allocator for boost aligned memory. More...
 
template<typename T , std::size_t alignement, std::enable_if_t< std::is_trivial< T >::value, int > = 0>
using cppuddle::memory_recycling::aggressive_recycle_aligned = detail::aggressive_recycle_allocator< T, boost::alignment::aligned_allocator< T, alignement > >
 Recycling allocator for boost aligned memory (reusing previous content as well) More...
 

Detailed Description

Contains the recycling allocators (in the form of type aliases) using the boost aligned_allocator as an underlying allocator