#include <CL/sycl/detail/aligned_allocator.hpp>
Classes | |
struct | rebind |
Public Types | |
using | value_type = T |
using | pointer = T * |
using | const_pointer = const T * |
using | reference = T & |
using | const_reference = const T & |
Public Member Functions | |
aligned_allocator ()=default | |
~aligned_allocator ()=default | |
aligned_allocator (size_t Alignment) | |
void | construct (pointer Ptr, const_reference Val) |
void | destroy (pointer Ptr) |
pointer | address (reference Val) const |
const_pointer | address (const_reference Val) |
pointer | allocate (size_t Size) |
void | deallocate (pointer Ptr, size_t) |
bool | operator== (const aligned_allocator &) |
bool | operator!= (const aligned_allocator &) |
void | setAlignment (size_t Alignment) |
Definition at line 23 of file aligned_allocator.hpp.
using cl::sycl::detail::aligned_allocator< T >::const_pointer = const T* |
Definition at line 27 of file aligned_allocator.hpp.
using cl::sycl::detail::aligned_allocator< T >::const_reference = const T& |
Definition at line 29 of file aligned_allocator.hpp.
using cl::sycl::detail::aligned_allocator< T >::pointer = T* |
Definition at line 26 of file aligned_allocator.hpp.
using cl::sycl::detail::aligned_allocator< T >::reference = T& |
Definition at line 28 of file aligned_allocator.hpp.
using cl::sycl::detail::aligned_allocator< T >::value_type = T |
Definition at line 25 of file aligned_allocator.hpp.
|
default |
|
default |
|
inlineexplicit |
Definition at line 37 of file aligned_allocator.hpp.
|
inline |
Definition at line 48 of file aligned_allocator.hpp.
|
inline |
Definition at line 47 of file aligned_allocator.hpp.
|
inline |
Definition at line 51 of file aligned_allocator.hpp.
References cl::sycl::detail::usm::alignedAlloc().
Referenced by cl::sycl::detail::usm::alignedAllocHost().
|
inline |
Definition at line 40 of file aligned_allocator.hpp.
|
inline |
Definition at line 65 of file aligned_allocator.hpp.
|
inline |
Definition at line 45 of file aligned_allocator.hpp.
|
inline |
Definition at line 71 of file aligned_allocator.hpp.
|
inline |
Definition at line 70 of file aligned_allocator.hpp.
|
inline |
Definition at line 73 of file aligned_allocator.hpp.