|
CPPuddle
|
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now. More...
Namespaces | |
| namespace | detail |
Classes | |
| struct | cuda_device_buffer |
| RAII wrapper for CUDA device memory (ideally used with a recycling allocator). More... | |
| struct | cuda_aggregated_device_buffer |
| RAII wrapper for CUDA device memory using a passed aggregated allocator (which ideally should be an allocator_slice from the work aggregation). More... | |
| struct | hip_device_buffer |
| struct | hip_aggregated_device_buffer |
| class | aggregated_recycling_view |
| class | kokkos_type |
| class | recycling_view |
Typedefs | |
| template<typename T, std::size_t alignement, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_aligned |
| Recycling allocator for boost aligned memory. | |
| template<typename T, std::size_t alignement, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | aggressive_recycle_aligned |
| Recycling allocator for boost aligned memory (reusing previous content as well). | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_std |
| Recycling allocator for std memory. | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | aggressive_recycle_std |
| Recycling allocator for boost aligned memory (reusing previous content as well). | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_allocator_cuda_host |
| Recycling allocator for CUDA pinned host memory. | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_allocator_cuda_device |
| Recycling allocator for CUDA device memory. | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_allocator_hip_host |
| Recycling allocator for HIP pinned host memory. | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_allocator_hip_device |
| Recycling allocator for HIP device memory. | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_allocator_sycl_host |
| Recycling allocator for SYCL pinned host memory (default device). | |
| template<typename T, std::enable_if_t< std::is_trivial< T >::value, int > = 0> | |
| using | recycle_allocator_sycl_device |
| Recycling allocator for SYCL device memory (default device). | |
Functions | |
| void | print_performance_counters () |
| void | force_cleanup () |
| void | cleanup () |
| Deletes all buffers currently marked as unused. | |
| void | finalize () |
Variables | |
| constexpr auto | max_number_gpus |
| constexpr auto | number_instances |
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now.
| using cppuddle::memory_recycling::aggressive_recycle_aligned |
Recycling allocator for boost aligned memory (reusing previous content as well).
| using cppuddle::memory_recycling::aggressive_recycle_std |
Recycling allocator for boost aligned memory (reusing previous content as well).
| using cppuddle::memory_recycling::recycle_aligned |
Recycling allocator for boost aligned memory.
| using cppuddle::memory_recycling::recycle_allocator_cuda_device |
Recycling allocator for CUDA device memory.
| using cppuddle::memory_recycling::recycle_allocator_cuda_host |
Recycling allocator for CUDA pinned host memory.
| using cppuddle::memory_recycling::recycle_allocator_hip_device |
Recycling allocator for HIP device memory.
| using cppuddle::memory_recycling::recycle_allocator_hip_host |
Recycling allocator for HIP pinned host memory.
| using cppuddle::memory_recycling::recycle_allocator_sycl_device |
Recycling allocator for SYCL device memory (default device).
| using cppuddle::memory_recycling::recycle_allocator_sycl_host |
Recycling allocator for SYCL pinned host memory (default device).
| using cppuddle::memory_recycling::recycle_std |
Recycling allocator for std memory.
|
inline |
Deletes all buffers currently marked as unused.
|
inline |
Deletes all buffers (even ones still marked as used), delete the buffer managers and the recycler itself. Disallows further usage.
|
inline |
Deletes all buffers (even ones still marked as used), delete the buffer managers and the recycler itself
|
inline |
|
constexpr |
|
constexpr |