10#ifndef CUDA_BUFFER_UTIL_HPP
11#define CUDA_BUFFER_UTIL_HPP
22 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
23 cppuddle::memory_recycling::detail::cuda_pinned_allocator<T>;
27 [[deprecated(
"Use from header cuda_recycling_allocators.hpp instead")]] =
28 cppuddle::memory_recycling::detail::cuda_device_allocator<T>;
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")]] =
45 cppuddle::memory_recycling::cuda_device_buffer<T>;
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")]] =
51 cppuddle::memory_recycling::cuda_aggregated_device_buffer<T, Host_Allocator>;
Contains a RAII wrappers for CUDA device buffers. Intended to be used with the recycling allocators b...
detail::aggressive_recycle_allocator< T, detail::cuda_pinned_allocator< T > > recycle_allocator_cuda_host
Recycling allocator for CUDA pinned host memory.
Definition cuda_recycling_allocators.hpp:51
detail::recycle_allocator< T, detail::cuda_device_allocator< T > > recycle_allocator_cuda_device
Recycling allocator for CUDA device memory.
Definition cuda_recycling_allocators.hpp:55
Definition buffer_manager.hpp:21
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
Underlying allocator for CUDA device memory.
Definition cuda_underlying_allocators.hpp:74
Underlying host allocator for CUDA pinned memory.
Definition cuda_underlying_allocators.hpp:32