Stokhos
Development
|
Traits class encapsulting memory alignment. More...
#include <Stokhos_MemoryTraits.hpp>
Static Public Member Functions | |
static KOKKOS_INLINE_FUNCTION void * | alloc (const size_t size) |
Allocate aligned memory of given size. | |
static KOKKOS_INLINE_FUNCTION void | free (void *ptr) |
Free memory allocated by alloc() | |
Static Public Attributes | |
static const unsigned | Alignment = 8 |
Bytes to which memory allocations are aligned. | |
Traits class encapsulting memory alignment.