10#ifndef HIP_BUFFER_UTIL_HPP
11#define HIP_BUFFER_UTIL_HPP
22 [[deprecated(
"Use from header hip_recycling_allocators.hpp instead")]] =
23 cppuddle::memory_recycling::detail::hip_pinned_allocator<T>;
27 [[deprecated(
"Use from header hip_recycling_allocators.hpp instead")]] =
28 cppuddle::memory_recycling::detail::hip_device_allocator<T>;
31template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
33 [[deprecated(
"Use from header hip_recycling_allocators.hpp instead")]] =
36template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
38 [[deprecated(
"Use from header hip_recycling_allocators.hpp instead")]] =
41template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
43 [[deprecated(
"Use from header hip_recycling_allocators.hpp instead")]] =
44 cppuddle::memory_recycling::hip_device_buffer<T>;
46template <
typename T,
typename Host_Allocator,
47 std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
49 [[deprecated(
"Use from header hip_recycling_allocators.hpp instead")]] =
50 cppuddle::memory_recycling::hip_aggregated_device_buffer<T, Host_Allocator>;
detail::recycle_allocator< T, detail::hip_device_allocator< T > > recycle_allocator_hip_device
Recycling allocator for HIP device memory.
Definition hip_recycling_allocators.hpp:41
detail::aggressive_recycle_allocator< T, detail::hip_pinned_allocator< T > > recycle_allocator_hip_host
Recycling allocator for HIP pinned host memory.
Definition hip_recycling_allocators.hpp:37
Definition buffer_manager.hpp:21
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now.
Definition aligned_buffer_util.hpp:15
Underlying allocator for HIP device memory.
Definition hip_underlying_allocators.hpp:64
Underlying host allocator for HIP pinned memory.
Definition hip_underlying_allocators.hpp:17
Definition hip_recycling_device_buffer.hpp:47
Definition hip_recycling_device_buffer.hpp:22