vSMC
vSMC: Scalable Monte Carlo
|
Aligned memory using std::malloc
and std::free
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 std::malloc
and std::free
Memory allocated through this class is aligned but some bytes might be wasted in each allocation.
Definition at line 114 of file aligned_memory.hpp.
|
inlinestatic |
Definition at line 138 of file aligned_memory.hpp.
|
inlinestatic |
Definition at line 117 of file aligned_memory.hpp.