Static array allocation class that works for any type.
More...
#include <Stokhos_StaticArrayTraits.hpp>
|
typedef T | value_type |
|
typedef D | execution_space |
|
|
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 .
|
|
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:
- Stokhos_StaticArrayTraits.hpp