|
CPPuddle
|
Singleton interface to all buffer_managers. More...
#include <buffer_management.hpp>
Public Member Functions | |
| buffer_interface (buffer_interface const &other)=delete | |
| buffer_interface (buffer_interface &&other)=delete | |
| ~buffer_interface ()=default | |
| buffer_interface & | operator= (buffer_interface const &other)=delete |
| buffer_interface & | operator= (buffer_interface &&other)=delete |
Static Public Member Functions | |
| template<typename T, typename Host_Allocator> | |
| static T * | get (size_t number_elements, bool manage_content_lifetime=false, std::optional< size_t > location_hint=std::nullopt, std::optional< size_t > device_id=std::nullopt) |
| template<typename T, typename Host_Allocator> | |
| static void | mark_unused (T *p, size_t number_elements, std::optional< size_t > location_hint=std::nullopt, std::optional< size_t > device_id=std::nullopt) |
| template<typename T, typename Host_Allocator> | |
| static void | register_allocator_counters_with_hpx (void) |
| Register all CPPuddle counters as HPX performance counters. | |
| static void | clean_all () |
| Deallocate all buffers, no matter whether they are marked as used or not. | |
| static void | clean_unused_buffers () |
| Deallocated all currently unused buffer. | |
| static void | finalize () |
| Deallocate all buffers, no matter whether they are marked as used or not. | |
| static void | print_performance_counters () |
Singleton interface to all buffer_managers.
|
delete |
|
delete |
|
inlinestatic |
Deallocate all buffers, no matter whether they are marked as used or not.
|
inlinestatic |
Deallocated all currently unused buffer.
|
inlinestatic |
Deallocate all buffers, no matter whether they are marked as used or not.
|
inlinestatic |
Primary method to allocate a buffer with CPPuddle: Returns and allocated / buffer of the requested size - this may be a reused buffer. The method figures out the correct buffer_manager and gets such a buffer from it. Should be called from an allocator implementation, not directly
|
inlinestatic |
Primary method to deallocate a buffer with CPPuddle:Marks an buffer as / unused and fit for reusage. The method figures out the correct buffer manager and marks the buffer there. Should be called from an allocator implementation, not directly
|
delete |
|
delete |
|
inlinestatic |
|
inlinestatic |
Register all CPPuddle counters as HPX performance counters.