10#ifndef CUDA_BUFFER_UTIL_HPP
11#define CUDA_BUFFER_UTIL_HPP
22 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
27 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
32template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
34 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
37template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
39 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
42template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
44 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
47template <
typename T,
typename Host_Allocator,
48 std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
50 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
Contains a RAII wrappers for CUDA device buffers. Intended to be used with the recycling allocators b...
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now.
Definition aligned_buffer_util.hpp:15
RAII wrapper for CUDA device memory using a passed aggregated allocator (which ideally should be an a...
Definition cuda_recycling_device_buffer.hpp:48
RAII wrapper for CUDA device memory (ideally used with a recycling allocator)
Definition cuda_recycling_device_buffer.hpp:23
Recycles not only allocations but also the contents of a buffer.
Definition buffer_management.hpp:840
Underlying allocator for CUDA device memory.
Definition cuda_underlying_allocators.hpp:59
Underlying host allocator for CUDA pinned memory.
Definition cuda_underlying_allocators.hpp:17
Definition buffer_management.hpp:770