6#ifndef SYCL_RECYCLING_ALLOCATORS_HPP
7#define SYCL_RECYCLING_ALLOCATORS_HPP
21static_assert(
max_number_gpus <= 1,
"CPPuddle currently does not support MultiGPU SYCL builds!");
25template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
29template <typename T, std::enable_if_t<std::is_trivial<T>::value,
int> = 0>
Definition aligned_recycling_allocators.hpp:19
CPPuddle namespace containing the memory recycling functionality.
Definition aligned_recycling_allocators.hpp:17
detail::aggressive_recycle_allocator< T, detail::sycl_host_default_allocator< T > > recycle_allocator_sycl_host
Recycling allocator for SYCL pinned host memory (default device).
Definition sycl_recycling_allocators.hpp:26
detail::recycle_allocator< T, detail::sycl_device_default_allocator< T > > recycle_allocator_sycl_device
Recycling allocator for SYCL device memory (default device).
Definition sycl_recycling_allocators.hpp:30
constexpr size_t max_number_gpus
Definition config.hpp:52
Recycles not only allocations but also the contents of a buffer.
Definition buffer_management.hpp:865
Definition buffer_management.hpp:795