vSMC
vSMC: Scalable Monte Carlo
|
Aligned memory using native system aligned memory allocation. More...
#include <vsmc/utility/aligned_memory.hpp>
Static Public Member Functions | |
static void | aligned_free (void *ptr) |
static void * | aligned_malloc (std::size_t n, std::size_t alignment) |
Aligned memory using native system aligned memory allocation.
This class use posix_memalign
and free
on POSIX systems (Mac OS X, Linux, etc.) and _aligned_malloc
and _aligned_free
on Windows.
Definition at line 153 of file aligned_memory.hpp.
|
inlinestatic |
Definition at line 170 of file aligned_memory.hpp.
|
inlinestatic |
Definition at line 156 of file aligned_memory.hpp.