Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Static Public Member Functions | Static Public Attributes | List of all members
Stokhos::MemoryTraits< MemorySpace > Struct Template Reference

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.
 

Detailed Description

template<typename MemorySpace>
struct Stokhos::MemoryTraits< MemorySpace >

Traits class encapsulting memory alignment.


The documentation for this struct was generated from the following file: