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 100 of file aligned_memory.hpp.
|
inlinestatic |
Definition at line 124 of file aligned_memory.hpp.
|
inlinestatic |
Definition at line 103 of file aligned_memory.hpp.