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, true > Struct Template Reference

Static array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...). 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, T v)
 Fill array dest of length sz with value v.
 
static KOKKOS_INLINE_FUNCTION void fill (volatile T *dest, std::size_t sz, T v)
 Fill array dest of length sz with value v.
 

Detailed Description

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

Static array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...).


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