#include <vsmc/internal/config.h>
#include <vsmc/internal/assert.hpp>
#include <cstddef>
#include <cstdlib>
#include <memory>
#include <new>
#include <type_traits>
#include <vector>
#include <stdlib.h>
#include <tbb/scalable_allocator.h>
#include <mkl_service.h>
Go to the source code of this file.
#define VSMC_RUNTIME_ASSERT_UTILITY_ALIGNED_MEMORY |
Value: VSMC_RUNTIME_ASSERT_UTILITY_ALIGNED_MEMORY_SIZEOF_VOID(alignment);
#define VSMC_RUNTIME_ASSERT_UTILITY_ALIGNED_MEMORY_POWER_OF_TWO(alignment)
Definition at line 101 of file aligned_memory.hpp.
#define VSMC_RUNTIME_ASSERT_UTILITY_ALIGNED_MEMORY_POWER_OF_TWO |
( |
|
alignment | ) |
|
Value: (alignment != 0 && (alignment & (alignment - 1)) == 0), \
"**aligned_malloc** USED WITH ALIGNMENT NOT A POWER OF TWO")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition at line 92 of file aligned_memory.hpp.
#define VSMC_RUNTIME_ASSERT_UTILITY_ALIGNED_MEMORY_SIZEOF_VOID |
( |
|
alignemnt | ) |
|
Value: "**aligned_malloc** USED WITH ALIGNMENT LESS THAN sizeof(void *)")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition at line 97 of file aligned_memory.hpp.
#define VSMC_STATIC_ASSERT_UTILITY_ALIGNED_MEMORY |
Value: VSMC_STATIC_ASSERT_UTILITY_ALIGNED_MEMORY_SIZEOF_VOID(Alignment);
#define VSMC_STATIC_ASSERT_UTILITY_ALIGNED_MEMORY_POWER_OF_TWO(Alignment)
Definition at line 88 of file aligned_memory.hpp.
#define VSMC_STATIC_ASSERT_UTILITY_ALIGNED_MEMORY_POWER_OF_TWO |
( |
|
Alignment | ) |
|
Value: (Alignment != 0 && (Alignment & (Alignment - 1)) == 0), \
"**AlignedAllocator** USED WITH Alignment NOT A POWER OF TWO")
#define VSMC_STATIC_ASSERT(cond, msg)
Definition at line 79 of file aligned_memory.hpp.
#define VSMC_STATIC_ASSERT_UTILITY_ALIGNED_MEMORY_SIZEOF_VOID |
( |
|
Alignemnt | ) |
|
Value: "**AlginedAllocator** USED WITH Alignment LESS THAN sizeof(void *)")
#define VSMC_STATIC_ASSERT(cond, msg)
Definition at line 84 of file aligned_memory.hpp.