vSMC
v3.0.0
Scalable Monte Carlo
|
Alignment of a given type. More...
#include <vsmc/utility/aligned_memory.hpp>
Alignment of a given type.
For scalar type, such as double
, value
is VSMC_ALIGNMENT, which shall be big enough for SIME aligned operations. For other types, it return VSMC_ALIGNMENT_MIN
if alignof(T)
is smaller, otherwise alignof(T)
.
Definition at line 161 of file aligned_memory.hpp.