CPPuddle
hip_buffer_util.hpp
Go to the documentation of this file.
1 // Copyright (c) 2024 Gregor Daiß
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // DEPRECATED: Do not use this file
7 // Only intended to make the old interface work a bit longer.
8 // See deprecation warnings for the new location of the functionality
9 
10 #ifndef HIP_BUFFER_UTIL_HPP
11 #define HIP_BUFFER_UTIL_HPP
12 
15 
16 namespace recycler {
17 
18 namespace detail {
19 
20 template <class T>
22  [[deprecated("Use from header hip_recycling_allocators.hpp instead")]] =
24 
25 template <class T>
27  [[deprecated("Use from header hip_recycling_allocators.hpp instead")]] =
29 } // end namespace detail
30 
31 template <typename T, std::enable_if_t<std::is_trivial<T>::value, int> = 0>
33  [[deprecated("Use from header hip_recycling_allocators.hpp instead")]] =
35 
36 template <typename T, std::enable_if_t<std::is_trivial<T>::value, int> = 0>
38  [[deprecated("Use from header hip_recycling_allocators.hpp instead")]] =
40 
41 template <typename T, std::enable_if_t<std::is_trivial<T>::value, int> = 0>
43  [[deprecated("Use from header hip_recycling_allocators.hpp instead")]] =
45 
46 template <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")]] =
51 
52 } // end namespace recycler
53 #endif
Deprecated LEGACY namespace. Kept around for compatiblity with old code for now.
Definition: aligned_buffer_util.hpp:15
Recycles not only allocations but also the contents of a buffer.
Definition: buffer_management.hpp:840
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: buffer_management.hpp:770
Definition: hip_recycling_device_buffer.hpp:47
Definition: hip_recycling_device_buffer.hpp:22