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

aligned_allocator

An allocator that can allocate memory aligned to a certain alignment boundary with the final allocated size a multiple of some required size.

class cl::sycl::detail::aligned_mem::aligned_allocator;

Types

Type Definition Notes
const_pointer
typename allocator_t::const_pointer
const_reference
typename allocator_t::const_reference
difference_type
typename allocator_t::difference_type
pointer
typename allocator_t::pointer
reference
typename allocator_t::reference
size_type
typename allocator_t::size_type
value_type
typename allocator_t::value_type

Member Functions

(constructor)
(destructor)
allocate

Allocate

deallocate

Deallocates

operator=

syclreference.com — SYCL Reference Pages

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