|
static SIMD_INLINE void * | Allocate (size_t size, size_t align) |
| Allocates aligned memory block. More...
|
|
static SIMD_INLINE void | Free (void *ptr) |
| Frees aligned memory block. More...
|
|
static SIMD_INLINE size_t | Align (size_t size, size_t align) |
| Gets aligned size. More...
|
|
static SIMD_INLINE void * | Align (void *ptr, size_t align) |
| Gets aligned address. More...
|
|
static SIMD_INLINE size_t | Alignment () |
| Gets memory alignment required for the most productive work. More...
|
|
template<class T>
struct Simd::Allocator< T >
Aligned memory allocator.
Performs allocation and deletion of aligned memory.
- Note
- Also it can be used as an allocator for STL containers.