Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
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. More... | |
static KOKKOS_INLINE_FUNCTION void | free (void *ptr) |
Free memory allocated by alloc() More... | |
Static Public Attributes | |
static const unsigned | Alignment = 8 |
Bytes to which memory allocations are aligned. More... | |
Traits class encapsulting memory alignment.
Definition at line 47 of file Stokhos_MemoryTraits.hpp.
|
inlinestatic |
Allocate aligned memory of given size.
Definition at line 54 of file Stokhos_MemoryTraits.hpp.
|
inlinestatic |
Free memory allocated by alloc()
Definition at line 58 of file Stokhos_MemoryTraits.hpp.
|
static |
Bytes to which memory allocations are aligned.
Definition at line 50 of file Stokhos_MemoryTraits.hpp.