Intel HEXL
Intel Homomorphic Encryption Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
|
Allocates memory aligned to Alignment-byte sized boundaries. More...
#include <aligned-allocator.hpp>
Classes | |
struct | rebind |
Public Types | |
using | value_type = T |
Public Member Functions | |
AlignedAllocator (AllocatorStrategyPtr strategy=nullptr) noexcept | |
AlignedAllocator (const AlignedAllocator &src) | |
template<typename U > | |
AlignedAllocator (const AlignedAllocator< U, Alignment > &src) | |
~AlignedAllocator () | |
bool | operator== (const AlignedAllocator &) |
bool | operator!= (const AlignedAllocator &) |
T * | allocate (size_t n) |
Allocates n elements aligned to Alignment-byte boundaries. More... | |
void | deallocate (T *p, size_t n) |
Friends | |
template<typename , uint64_t > | |
class | AlignedAllocator |
Allocates memory aligned to Alignment-byte sized boundaries.
Alignment must be a power of two
using intel::hexl::AlignedAllocator< T, Alignment >::value_type = T |
|
inlineexplicitnoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
Allocates n
elements aligned to Alignment-byte boundaries.
|
inline |
|
inline |
|
inline |
|
friend |