10#ifndef BUFFER_MANAGER_HPP 
   11#define BUFFER_MANAGER_HPP 
   23    "Use buffer_interface from header " 
   24    "cppuddle/memory_recycling/detail/buffer_management.hpp instead")]] =
 
 
   28template <typename T, std::enable_if_t<std::is_trivial<T>::value, 
int> = 0>
 
   30    [[deprecated(
"Use from header std_recycling_allocators.hpp instead")]] =
 
   33template <typename T, std::enable_if_t<std::is_trivial<T>::value, 
int> = 0>
 
   35    [[deprecated(
"Use from header std_recycling_allocators.hpp instead")]] =
 
   38[[deprecated(
"Use cppuddle::memory_recycling::print_buffer_counters() instead")]] 
 
   44[[deprecated(
"Use cppuddle::memory_recycling::force_buffer_cleanup() instead")]]
 
   47[[deprecated(
"Use cppuddle::memory_recycling::unused_buffer_cleanup() instead")]]
 
   51[[deprecated(
"Use cppuddle::memory_recycling::finalize() instead")]]
 
   54[[deprecated(
"Use cppuddle::max_number_gpus instead")]] 
constexpr auto max_number_gpus =
 
   56[[deprecated(
"Use cppuddle::number_instances instead")]] 
constexpr auto number_instances =
 
Singleton interface to all buffer_managers.
Definition buffer_management.hpp:68
 
void finalize()
Definition buffer_management_interface.hpp:32
 
void print_buffer_counters()
Print performance counters of all buffer managers to stdout.
Definition buffer_management_interface.hpp:19
 
void unused_buffer_cleanup()
Deletes all buffers currently marked as unused.
Definition buffer_management_interface.hpp:27
 
void force_buffer_cleanup()
Definition buffer_management_interface.hpp:24
 
constexpr size_t max_number_gpus
Definition config.hpp:52
 
constexpr size_t number_instances
Definition config.hpp:50
 
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now.
Definition aligned_buffer_util.hpp:15
 
void cleanup()
Deletes all buffers currently marked as unused.
Definition buffer_manager.hpp:48
 
constexpr auto number_instances
Definition buffer_manager.hpp:56
 
constexpr auto max_number_gpus
Definition buffer_manager.hpp:54
 
void force_cleanup()
Definition buffer_manager.hpp:45
 
void finalize()
Definition buffer_manager.hpp:52
 
void print_performance_counters()
Definition buffer_manager.hpp:39
 
Recycles not only allocations but also the contents of a buffer.
Definition buffer_management.hpp:840
 
Definition buffer_management.hpp:770