Stokhos
Development
|
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 . | |
Static array allocation class that works for any type.