Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Static Public Member Functions | List of all members
Stokhos::StaticArrayTraits< T, D, false > Struct Template Reference

Static array allocation class that works for any type. More...

#include <Stokhos_StaticArrayTraits.hpp>

Public Types

typedef T value_type
 
typedef D execution_space
 

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION void copy (const volatile T *src, volatile T *dest, std::size_t sz)
 Copy array from src to dest of length sz.
 
static KOKKOS_INLINE_FUNCTION void copy (const volatile T *src, T *dest, std::size_t sz)
 Copy array from src to dest of length sz.
 
static KOKKOS_INLINE_FUNCTION void copy (const T *src, volatile T *dest, std::size_t sz)
 Copy array from src to dest of length sz.
 
static KOKKOS_INLINE_FUNCTION void copy (const T *src, T *dest, std::size_t sz)
 Copy array from src to dest of length sz.
 
static KOKKOS_INLINE_FUNCTION void zero (T *dest, std::size_t sz)
 Zero out array dest of length sz.
 
static KOKKOS_INLINE_FUNCTION void zero (volatile T *dest, std::size_t sz)
 Zero out array dest of length sz.
 
static KOKKOS_INLINE_FUNCTION void fill (T *dest, std::size_t sz, const T &v)
 Fill array dest of length sz with value v.
 
static KOKKOS_INLINE_FUNCTION void fill (volatile T *dest, std::size_t sz, const T &v)
 Fill array dest of length sz with value v.
 

Detailed Description

template<typename T, typename D>
struct Stokhos::StaticArrayTraits< T, D, false >

Static array allocation class that works for any type.


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