Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
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 . More... | |
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 . More... | |
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 . More... | |
static KOKKOS_INLINE_FUNCTION void | copy (const T *src, T *dest, std::size_t sz) |
Copy array from src to dest of length sz . More... | |
static KOKKOS_INLINE_FUNCTION void | zero (T *dest, std::size_t sz) |
Zero out array dest of length sz . More... | |
static KOKKOS_INLINE_FUNCTION void | zero (volatile T *dest, std::size_t sz) |
Zero out array dest of length sz . More... | |
static KOKKOS_INLINE_FUNCTION void | fill (T *dest, std::size_t sz, T v) |
Fill array dest of length sz with value v . More... | |
static KOKKOS_INLINE_FUNCTION void | fill (volatile T *dest, std::size_t sz, T v) |
Fill array dest of length sz with value v . More... | |
Static array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...).
Definition at line 110 of file Stokhos_StaticArrayTraits.hpp.
typedef T Stokhos::StaticArrayTraits< T, D, true >::value_type |
Definition at line 112 of file Stokhos_StaticArrayTraits.hpp.
typedef D Stokhos::StaticArrayTraits< T, D, true >::execution_space |
Definition at line 113 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Copy array from src
to dest
of length sz
.
Definition at line 118 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Copy array from src
to dest
of length sz
.
Definition at line 137 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Copy array from src
to dest
of length sz
.
Definition at line 156 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Copy array from src
to dest
of length sz
.
Definition at line 175 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Zero out array dest
of length sz
.
Definition at line 193 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Zero out array dest
of length sz
.
Definition at line 211 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Fill array dest
of length sz
with value v
.
Definition at line 229 of file Stokhos_StaticArrayTraits.hpp.
|
inlinestatic |
Fill array dest
of length sz
with value v
.
Definition at line 247 of file Stokhos_StaticArrayTraits.hpp.