syclreference.com
  1. SYCL
  2. | API Reference
  3. | Allocators
  4. | wrapped_allocator

wrapped_allocator<AllocatorT>

Typed derived class for a base allocator that holds an instance to an user-defined allocator.

template <typename AllocatorT>
class cl::sycl::detail::wrapped_allocator;

Member Functions

(constructor)
allocate
deallocate
get_allocator

Retrieves the original allocator

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000