|
template<typename T > |
HWY_API constexpr bool | hwy::IsAligned (T *ptr, size_t align=HWY_ALIGNMENT) |
|
HWY_DLLEXPORT void * | hwy::AllocateAlignedBytes (size_t payload_size, AllocPtr alloc_ptr=nullptr, void *opaque_ptr=nullptr) |
|
HWY_DLLEXPORT void | hwy::FreeAlignedBytes (const void *aligned_pointer, FreePtr free_ptr, void *opaque_ptr) |
|
template<typename T , typename... Args> |
AlignedUniquePtr< T > | hwy::MakeUniqueAlignedWithAlloc (AllocPtr alloc, FreePtr free, void *opaque, Args &&... args) |
|
template<typename T , typename... Args> |
AlignedUniquePtr< T > | hwy::MakeUniqueAligned (Args &&... args) |
|
template<class T , class V > |
constexpr bool | hwy::operator== (const AlignedAllocator< T > &, const AlignedAllocator< V > &) noexcept |
|
template<class T , class V > |
constexpr bool | hwy::operator!= (const AlignedAllocator< T > &, const AlignedAllocator< V > &) noexcept |
|
static constexpr size_t | hwy::detail::ShiftCount (size_t n) |
|
template<typename T > |
T * | hwy::detail::AllocateAlignedItems (size_t items, AllocPtr alloc_ptr, void *opaque_ptr) |
|
template<typename T , typename... Args> |
AlignedUniquePtr< T[]> | hwy::MakeUniqueAlignedArrayWithAlloc (size_t items, AllocPtr alloc, FreePtr free, void *opaque, Args &&... args) |
|
template<typename T , typename... Args> |
AlignedUniquePtr< T[]> | hwy::MakeUniqueAlignedArray (size_t items, Args &&... args) |
|
template<typename T > |
AlignedFreeUniquePtr< T[]> | hwy::AllocateAligned (const size_t items, AllocPtr alloc, FreePtr free, void *opaque) |
|
template<typename T > |
AlignedFreeUniquePtr< T[]> | hwy::AllocateAligned (const size_t items) |
|