| Stokhos
    Development
    | 
Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...). More...
#include <Stokhos_DynArrayTraits.hpp>
| Public Types | |
| typedef T | value_type | 
| typedef device_t | 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 srctodestof lengthsz. | |
| static KOKKOS_INLINE_FUNCTION void | copy (const volatile T *src, T *dest, std::size_t sz) | 
| Copy array from srctodestof lengthsz. | |
| static KOKKOS_INLINE_FUNCTION void | copy (const T *src, volatile T *dest, std::size_t sz) | 
| Copy array from srctodestof lengthsz. | |
| static KOKKOS_INLINE_FUNCTION void | copy (const T *src, T *dest, std::size_t sz) | 
| Copy array from srctodestof lengthsz. | |
| static KOKKOS_INLINE_FUNCTION void | zero (T *dest, std::size_t sz) | 
| Zero out array destof lengthsz. | |
| static KOKKOS_INLINE_FUNCTION void | zero (volatile T *dest, std::size_t sz) | 
| Zero out array destof lengthsz. | |
| static KOKKOS_INLINE_FUNCTION void | fill (T *dest, std::size_t sz, const T &v) | 
| Fill array destof lengthszwith valuev. | |
| static KOKKOS_INLINE_FUNCTION void | fill (volatile T *dest, std::size_t sz, const T &v) | 
| Fill array destof lengthszwith valuev. | |
| static KOKKOS_INLINE_FUNCTION T * | get_and_fill (std::size_t sz, const T &x=T(0.0)) | 
| Get memory for new array of length szand fill with zeros. | |
| static KOKKOS_INLINE_FUNCTION T * | get_and_fill (const T *src, std::size_t sz) | 
| Get memory for new array of length szand fill with entries fromsrc. | |
| static KOKKOS_INLINE_FUNCTION T * | get_and_fill (const volatile T *src, std::size_t sz) | 
| Get memory for new array of length szand fill with entries fromsrc. | |
| static KOKKOS_INLINE_FUNCTION void | destroy_and_release (T *m, std::size_t sz) | 
| Destroy array elements and release memory. | |
| static KOKKOS_INLINE_FUNCTION void | destroy_and_release (volatile T *m, std::size_t sz) | 
| Destroy array elements and release memory. | |
Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...).
 1.8.5
 1.8.5