#include <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 22 of file aligned_allocator.hpp.
using sycl::_V1::detail::aligned_allocator< T >::const_pointer = const T * |
Definition at line 26 of file aligned_allocator.hpp.
using sycl::_V1::detail::aligned_allocator< T >::const_reference = const T & |
Definition at line 28 of file aligned_allocator.hpp.
using sycl::_V1::detail::aligned_allocator< T >::pointer = T * |
Definition at line 25 of file aligned_allocator.hpp.
using sycl::_V1::detail::aligned_allocator< T >::reference = T & |
Definition at line 27 of file aligned_allocator.hpp.
using sycl::_V1::detail::aligned_allocator< T >::value_type = T |
Definition at line 24 of file aligned_allocator.hpp.
|
default |
|
default |
|
inlineexplicit |
Definition at line 38 of file aligned_allocator.hpp.
|
inline |
Definition at line 49 of file aligned_allocator.hpp.
|
inline |
Definition at line 48 of file aligned_allocator.hpp.
|
inline |
Definition at line 52 of file aligned_allocator.hpp.
References sycl::_V1::detail::OSUtil::alignedAlloc().
Referenced by sycl::_V1::detail::usm::alignedAllocHost(), and sycl::_V1::detail::usm::alignedAllocInternal().
|
inline |
Definition at line 41 of file aligned_allocator.hpp.
|
inline |
Definition at line 66 of file aligned_allocator.hpp.
References sycl::_V1::detail::OSUtil::alignedFree().
|
inline |
Definition at line 46 of file aligned_allocator.hpp.
|
inline |
Definition at line 72 of file aligned_allocator.hpp.
|
inline |
Definition at line 71 of file aligned_allocator.hpp.
|
inline |
Definition at line 74 of file aligned_allocator.hpp.
References sycl::_V1::ext::oneapi::experimental::detail::Alignment.