Stokhos
Development
|
Partial specialization of PackTraits for Sacado's PCE UQ type. More...
#include <Stokhos_Tpetra_UQ_PCE.hpp>
Public Types | |
typedef Sacado::UQ::PCE< S > | value_type |
typedef D::execution_space | execution_space |
typedef D | device_type |
typedef execution_space::size_type | size_type |
typedef Kokkos::View< const char *, device_type, Kokkos::MemoryUnmanaged > | input_buffer_type |
typedef Kokkos::View< char *, device_type, Kokkos::MemoryUnmanaged > | output_buffer_type |
typedef Kokkos::View< const value_type *, device_type, Kokkos::MemoryUnmanaged > | input_array_type |
typedef Kokkos::View < value_type *, device_type, Kokkos::MemoryUnmanaged > | output_array_type |
typedef value_type::value_type | scalar_value_type |
typedef PackTraits < scalar_value_type, device_type > | SPT |
typedef SPT::input_array_type | scalar_input_array_type |
typedef SPT::output_array_type | scalar_output_array_type |
Static Public Member Functions | |
static KOKKOS_INLINE_FUNCTION size_t | numValuesPerScalar (const value_type &x) |
static Kokkos::View < value_type *, device_type > | allocateArray (const value_type &x, const size_t numEnt, const std::string &label="") |
static KOKKOS_INLINE_FUNCTION Kokkos::pair< int, size_t > | packArray (char outBuf[], const value_type inBuf[], const size_t numEnt) |
static KOKKOS_INLINE_FUNCTION Kokkos::pair< int, size_t > | unpackArray (value_type outBuf[], const char inBuf[], const size_t numEnt) |
static KOKKOS_INLINE_FUNCTION size_t | packValueCount (const value_type &inVal) |
static KOKKOS_INLINE_FUNCTION size_t | packValue (char outBuf[], const value_type &inVal) |
static KOKKOS_INLINE_FUNCTION size_t | packValue (char outBuf[], const size_t outBufIndex, const value_type &inVal) |
static KOKKOS_INLINE_FUNCTION size_t | unpackValue (value_type &outVal, const char inBuf[]) |
Static Public Attributes | |
static const bool | compileTimeSize = false |
Whether the number of bytes required to pack one instance of value_type is fixed at compile time. | |
Partial specialization of PackTraits for Sacado's PCE UQ type.
S | The underlying scalar type in the PCE UQ type. |
D | The Kokkos "device" type. |