vSMC
v3.0.0
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) noexcept |
static void * | aligned_malloc (std::size_t n, std::size_t alignment) noexcept |
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 212 of file aligned_memory.hpp.
|
inlinestaticnoexcept |
Definition at line 223 of file aligned_memory.hpp.
|
inlinestaticnoexcept |
Definition at line 215 of file aligned_memory.hpp.