6 #ifndef HIP_RECYCLING_BUFFER_HPP
7 #define HIP_RECYCLING_BUFFER_HPP
17 namespace memory_recycling {
21 template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
46 template <typename T, typename Host_Allocator, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
65 Host_Allocator &alloc;
Definition: config.hpp:31
constexpr size_t max_number_gpus
Definition: config.hpp:52
Definition: buffer_management.hpp:770
Definition: hip_recycling_device_buffer.hpp:47
hip_aggregated_device_buffer(hip_aggregated_device_buffer const &&other)=delete
size_t number_of_elements
Definition: hip_recycling_device_buffer.hpp:49
hip_aggregated_device_buffer(size_t number_of_elements, Host_Allocator &alloc)
Definition: hip_recycling_device_buffer.hpp:50
~hip_aggregated_device_buffer()
Definition: hip_recycling_device_buffer.hpp:55
hip_aggregated_device_buffer(hip_aggregated_device_buffer const &other)=delete
hip_aggregated_device_buffer operator=(hip_aggregated_device_buffer const &&other)=delete
T * device_side_buffer
Definition: hip_recycling_device_buffer.hpp:48
hip_aggregated_device_buffer operator=(hip_aggregated_device_buffer const &other)=delete
Definition: hip_recycling_device_buffer.hpp:22
hip_device_buffer operator=(hip_device_buffer const &&other)=delete
recycle_allocator_hip_device< T > allocator
Definition: hip_recycling_device_buffer.hpp:23
hip_device_buffer operator=(hip_device_buffer const &other)=delete
hip_device_buffer(hip_device_buffer const &other)=delete
hip_device_buffer(hip_device_buffer const &&other)=delete
size_t number_of_elements
Definition: hip_recycling_device_buffer.hpp:25
T * device_side_buffer
Definition: hip_recycling_device_buffer.hpp:24
~hip_device_buffer()
Definition: hip_recycling_device_buffer.hpp:33
hip_device_buffer(size_t number_of_elements, size_t device_id)
Definition: hip_recycling_device_buffer.hpp:27