Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Functions | Variables
Kokkos Namespace Reference

Namespaces

 Impl
 
 Experimental
 
 Details
 
 Compat
 
 Example
 

Classes

struct  FlatArrayType
 
struct  IntrinsicScalarType
 
struct  LocalUQPCEView
 
struct  LocalUQPCEView< ViewType, LocalSize, 1, true >
 
struct  LocalUQPCEView< ViewType, LocalSize, 1, false >
 
struct  is_view_uq_pce
 
struct  CijkType
 
struct  is_view_uq_pce< View< T, P...> >
 
struct  CijkType< ViewType, typename std::enable_if< is_view_uq_pce< ViewType >::value >::type >
 
struct  FlatArrayType< View< D, P...>, typename std::enable_if< is_view_uq_pce< View< D, P...> >::value >::type >
 
class  ArithTraits< Sacado::UQ::PCE< S > >
 
struct  MPVectorWorkConfig
 Team-based parallel work configuration for Sacado::MP::Vector. More...
 
class  View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorInterlaced >
 View::value_type == Sacado::MP::Vector< Stokhos::StorageType<...> > More...
 
struct  LocalMPVectorView
 
struct  LocalMPVectorView< ViewType, LocalSize, false >
 
struct  LocalMPVectorView< View< D, P...>, LocalSize, true >
 
struct  is_view_mp_vector
 
struct  is_view_mp_vector< View< T, P...> >
 
struct  FlatArrayType< View< D, P...>, typename std::enable_if< is_view_mp_vector< View< D, P...> >::value >::type >
 
class  ArithTraits< Sacado::MP::Vector< S > >
 

Functions

template<typename ValueType , typename Layout , typename Device >
Stokhos::CrsMatrix< ValueType,
Device, Layout >::HostMirror 
create_mirror (const Stokhos::CrsMatrix< ValueType, Device, Layout > &A)
 
template<typename ValueType , typename Layout , typename Device >
Stokhos::CrsMatrix< ValueType,
Device, Layout >::HostMirror 
create_mirror_view (const Stokhos::CrsMatrix< ValueType, Device, Layout > &A)
 
template<typename ValueType , typename Layout , typename DstDevice , typename SrcDevice >
void deep_copy (const Stokhos::CrsMatrix< ValueType, DstDevice, Layout > &dst, const Stokhos::CrsMatrix< ValueType, SrcDevice, Layout > &src)
 
template<typename ViewType >
ViewType make_view (const std::string &label, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename ViewType >
ViewType make_view (const ViewAllocateWithoutInitializing &init, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename ViewType >
ViewType make_view (typename ViewType::pointer_type ptr, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename ViewType >
ViewType make_view (const std::string &label, const Impl::WithoutInitializing_t &init, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename Storage >
KOKKOS_INLINE_FUNCTION void atomic_assign (volatile Sacado::UQ::PCE< Storage > *const dest, const Sacado::UQ::PCE< Storage > &src)
 
template<typename Storage >
KOKKOS_INLINE_FUNCTION void atomic_add (volatile Sacado::UQ::PCE< Storage > *const dest, const Sacado::UQ::PCE< Storage > &src)
 
template<typename cijk_type >
cijk_type & getGlobalCijkTensor ()
 
template<typename cijk_type >
void setGlobalCijkTensor (const cijk_type &cijk)
 
template<class T , class... P>
std::enable_if< std::is_same
< typename ViewTraits< T, P...>
::specialize,
Kokkos::Experimental::Impl::ViewPCEContiguous >
::value &&!std::is_same
< typename Kokkos::ViewTraits
< T, P...>::array_layout,
Kokkos::LayoutStride >::value,
typename Kokkos::View< T, P...>
::HostMirror >::type 
create_mirror (const Kokkos::View< T, P...> &src)
 
template<class T , class... P>
std::enable_if< std::is_same
< typename ViewTraits< T, P...>
::specialize,
Kokkos::Experimental::Impl::ViewPCEContiguous >
::value &&std::is_same
< typename Kokkos::ViewTraits
< T, P...>::array_layout,
Kokkos::LayoutStride >::value,
typename Kokkos::View< T, P...>
::HostMirror >::type 
create_mirror (const Kokkos::View< T, P...> &src)
 
template<class Space , class T , class... P, typename Enable = std::enable_if_t<Kokkos::is_space<Space>::value>>
std::enable_if< std::is_same
< typename ViewTraits< T, P...>
::specialize,
Kokkos::Experimental::Impl::ViewPCEContiguous >
::value, typename
Impl::MirrorViewType< Space, T,
P...>::dest_view_type >::type 
create_mirror (const Space &, const Kokkos::View< T, P...> &src)
 
template<class T , class... P>
std::enable_if< std::is_same
< typename ViewTraits< T, P...>
::specialize,
Kokkos::Experimental::Impl::ViewPCEContiguous >
::value &&!std::is_same
< typename Kokkos::ViewTraits
< T, P...>::array_layout,
Kokkos::LayoutStride >::value,
typename Kokkos::View< T, P...>
::HostMirror >::type 
create_mirror (Kokkos::Impl::WithoutInitializing_t wi, const Kokkos::View< T, P...> &src)
 
template<class T , class... P>
std::enable_if< std::is_same
< typename ViewTraits< T, P...>
::specialize,
Kokkos::Experimental::Impl::ViewPCEContiguous >
::value &&std::is_same
< typename Kokkos::ViewTraits
< T, P...>::array_layout,
Kokkos::LayoutStride >::value,
typename Kokkos::View< T, P...>
::HostMirror >::type 
create_mirror (Kokkos::Impl::WithoutInitializing_t wi, const Kokkos::View< T, P...> &src)
 
template<class Space , class T , class... P, typename Enable = std::enable_if_t<Kokkos::is_space<Space>::value>>
std::enable_if< std::is_same
< typename ViewTraits< T, P...>
::specialize,
Kokkos::Experimental::Impl::ViewPCEContiguous >
::value, typename
Impl::MirrorViewType< Space, T,
P...>::dest_view_type >::type 
create_mirror (Kokkos::Impl::WithoutInitializing_t wi, const Space &, const Kokkos::View< T, P...> &src)
 
template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T,
P...>::view_type 
create_mirror_view_and_copy (const Space &, const Kokkos::View< T, P...> &src, std::string const &name="", typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *=nullptr)
 
template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T,
P...>::view_type 
create_mirror_view_and_copy (const Space &, const Kokkos::View< T, P...> &src, std::string const &name="", typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&!Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *=nullptr)
 
template<class DT , class... DP>
void deep_copy (const View< DT, DP...> &view, const typename View< DT, DP...>::array_type::value_type &value, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *=0)
 
template<class DT , class... DP>
void deep_copy (const View< DT, DP...> &view, const typename View< DT, DP...>::value_type &value, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *=0)
 
template<class ExecSpace , class DT , class... DP>
void deep_copy (const ExecSpace &, const View< DT, DP...> &view, const typename View< DT, DP...>::array_type::value_type &value, typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *=0)
 
template<class ExecSpace , class DT , class... DP>
void deep_copy (const ExecSpace &, const View< DT, DP...> &view, const typename View< DT, DP...>::value_type &value, typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *=0)
 
template<class DT , class... DP, class ST , class... SP>
void deep_copy (const View< DT, DP...> &dst, const View< ST, SP...> &src, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *=0)
 
template<class ExecSpace , class DT , class... DP, class ST , class... SP>
void deep_copy (const ExecSpace &, const View< DT, DP...> &dst, const View< ST, SP...> &src, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *=0)
 
template<typename T , typename... P>
KOKKOS_INLINE_FUNCTION
constexpr std::enable_if
< is_view_uq_pce< View< T,
P...> >::value, unsigned >
::type 
dimension_scalar (const View< T, P...> &view)
 
template<typename view_type >
KOKKOS_INLINE_FUNCTION
constexpr std::enable_if
< is_view_uq_pce< view_type >
::value, typename CijkType
< view_type >::type >::type 
cijk (const view_type &view)
 
template<typename view_type >
KOKKOS_INLINE_FUNCTION
constexpr std::enable_if
< is_view_uq_pce< view_type >
::value, bool >::type 
is_allocation_contiguous (const view_type &view)
 
template<typename ViewType >
ViewType make_view (const std::string &label, const typename CijkType< ViewType >::type &cijk, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename ViewType >
ViewType make_view (const std::string &label, const Impl::WithoutInitializing_t &init, const typename CijkType< ViewType >::type &cijk, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename ViewType >
ViewType make_view (const ViewAllocateWithoutInitializing &init, const typename CijkType< ViewType >::type &cijk, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename ViewType >
std::enable_if< is_view_uq_pce
< ViewType >::value, ViewType >
::type 
make_view (typename ViewType::pointer_type ptr, const typename CijkType< ViewType >::type &cijk, size_t N0=0, size_t N1=0, size_t N2=0, size_t N3=0, size_t N4=0, size_t N5=0, size_t N6=0, size_t N7=0)
 
template<typename CijkType , typename AllocProp >
KOKKOS_INLINE_FUNCTION
std::enable_if
< !Impl::ctor_prop_has_cijk
< AllocProp >::value, CijkType >
::type 
extract_cijk (const AllocProp &prop)
 
template<typename CijkType , typename AllocProp >
KOKKOS_INLINE_FUNCTION
std::enable_if
< Impl::ctor_prop_has_cijk
< AllocProp >::value, CijkType >
::type 
extract_cijk (const AllocProp &prop)
 
template<class S , class L , class G , class N >
size_t dimension_scalar (const Tpetra::MultiVector< S, L, G, N > &mv)
 
template<class S , class L , class G , class N >
size_t dimension_scalar (const Tpetra::Vector< S, L, G, N > &v)
 
template<typename Storage >
KOKKOS_INLINE_FUNCTION void atomic_assign (volatile Sacado::MP::Vector< Storage > *const dest, const Sacado::MP::Vector< Storage > &src)
 
template<typename Storage >
KOKKOS_INLINE_FUNCTION void atomic_add (volatile Sacado::MP::Vector< Storage > *const dest, const Sacado::MP::Vector< Storage > &src)
 
template<class T , class... P, class... ViewCtorArgs>
auto create_mirror (const Impl::ViewCtorProp< ViewCtorArgs...> &arg_prop, const View< T, P...> &src, typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *=nullptr)
 
template<class T , class... P>
auto create_mirror (const View< T, P...> &src, typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *=nullptr)
 
template<class Space , class T , class... P, typename Enable = std::enable_if_t<Kokkos::is_space<Space>::value>>
auto create_mirror (const Space &space, const View< T, P...> &src, typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *=nullptr)
 
template<class T , class... P>
auto create_mirror (Impl::WithoutInitializing_t wi, const View< T, P...> &src, typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *=nullptr)
 
template<class Space , class T , class... P, typename Enable = std::enable_if_t<is_space<Space>::value>>
auto create_mirror (Impl::WithoutInitializing_t wi, const Space &space, const View< T, P...> &src, typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *=nullptr)
 
template<class T , class... P, class... ViewCtorArgs>
auto create_mirror_view (const Impl::ViewCtorProp< ViewCtorArgs...> &arg_prop, const Kokkos::View< T, P...> &src, typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *=nullptr)
 
template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T,
P...>::view_type 
create_mirror_view_and_copy (const Space &, const Kokkos::View< T, P...> &src, std::string const &name="", typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *=nullptr)
 
template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T,
P...>::view_type 
create_mirror_view_and_copy (const Space &, const Kokkos::View< T, P...> &src, std::string const &name="", typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&!Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *=nullptr)
 
template<class DT , class... DP>
void deep_copy (const View< DT, DP...> &view, const typename View< DT, DP...>::array_type::value_type &value, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
template<class DT , class... DP>
void deep_copy (const View< DT, DP...> &view, const typename View< DT, DP...>::value_type &value, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
template<class ExecSpace , class DT , class... DP>
void deep_copy (const ExecSpace &, const View< DT, DP...> &view, const typename View< DT, DP...>::array_type::value_type &value, typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
template<class ExecSpace , class DT , class... DP>
void deep_copy (const ExecSpace &, const View< DT, DP...> &view, const typename View< DT, DP...>::value_type &value, typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
template<class DT , class... DP, class ST , class... SP>
void deep_copy (const View< DT, DP...> &dst, const View< ST, SP...> &src, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
template<class ExecSpace , class DT , class... DP, class ST , class... SP>
void deep_copy (const ExecSpace &, const View< DT, DP...> &dst, const View< ST, SP...> &src, typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
void deep_copy (const View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced > &dst, const View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced > &src, typename Impl::enable_if<(Impl::is_same< typename View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced >::intinsic_scalar_type, typename View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced >::intinsic_scalar_type >::value &&Impl::is_same< typename View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced >::array_layout, typename View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced >::array_layout >::value &&(unsigned(View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced >::rank)==unsigned(View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced >::rank)))>::type *=0)
 A deep copy between views of the same specialization, compatible type, same rank, same layout are handled by that specialization. More...
 
template<typename T , typename... P>
KOKKOS_INLINE_FUNCTION
constexpr std::enable_if
< is_view_mp_vector< View< T,
P...> >::value, unsigned >
::type 
dimension_scalar (const View< T, P...> &view)
 
template<unsigned Size, typename D , typename... P>
KOKKOS_INLINE_FUNCTION
Kokkos::Impl::ViewMapping
< void, typename
Kokkos::ViewTraits< D, P...>
, Sacado::MP::VectorPartition
< Size > >::type 
partition (const Kokkos::View< D, P...> &src, const unsigned beg)
 

Variables

unsigned global_sacado_mp_vector_size = 0
 

Function Documentation

template<typename ValueType , typename Layout , typename Device >
Stokhos::CrsMatrix<ValueType,Device,Layout>::HostMirror Kokkos::create_mirror ( const Stokhos::CrsMatrix< ValueType, Device, Layout > &  A)

Definition at line 635 of file Stokhos_CrsMatrix.hpp.

template<typename ValueType , typename Layout , typename Device >
Stokhos::CrsMatrix<ValueType,Device,Layout>::HostMirror Kokkos::create_mirror_view ( const Stokhos::CrsMatrix< ValueType, Device, Layout > &  A)

Definition at line 645 of file Stokhos_CrsMatrix.hpp.

template<typename ValueType , typename Layout , typename DstDevice , typename SrcDevice >
void Kokkos::deep_copy ( const Stokhos::CrsMatrix< ValueType, DstDevice, Layout > &  dst,
const Stokhos::CrsMatrix< ValueType, SrcDevice, Layout > &  src 
)

Definition at line 656 of file Stokhos_CrsMatrix.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( const std::string &  label,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 230 of file Kokkos_View_Utils.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( const ViewAllocateWithoutInitializing &  init,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 239 of file Kokkos_View_Utils.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( typename ViewType::pointer_type  ptr,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 248 of file Kokkos_View_Utils.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( const std::string &  label,
const Impl::WithoutInitializing_t &  init,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 257 of file Kokkos_View_Utils.hpp.

template<typename Storage >
KOKKOS_INLINE_FUNCTION void Kokkos::atomic_assign ( volatile Sacado::UQ::PCE< Storage > *const  dest,
const Sacado::UQ::PCE< Storage > &  src 
)

Definition at line 25 of file Kokkos_Atomic_UQ_PCE.hpp.

template<typename Storage >
KOKKOS_INLINE_FUNCTION void Kokkos::atomic_add ( volatile Sacado::UQ::PCE< Storage > *const  dest,
const Sacado::UQ::PCE< Storage > &  src 
)

Definition at line 43 of file Kokkos_Atomic_UQ_PCE.hpp.

template<typename cijk_type >
cijk_type& Kokkos::getGlobalCijkTensor ( )

Definition at line 17 of file Kokkos_View_UQ_PCE.hpp.

template<typename cijk_type >
void Kokkos::setGlobalCijkTensor ( const cijk_type &  cijk)

Definition at line 24 of file Kokkos_View_UQ_PCE.hpp.

template<class T , class... P>
std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&!std::is_same< typename Kokkos::ViewTraits< T, P...>::array_layout, Kokkos::LayoutStride >::value, typename Kokkos::View< T, P...>::HostMirror >::type Kokkos::create_mirror ( const Kokkos::View< T, P...> &  src)
inline

Definition at line 177 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class T , class... P>
std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&std::is_same< typename Kokkos::ViewTraits< T, P...>::array_layout, Kokkos::LayoutStride >::value, typename Kokkos::View< T, P...>::HostMirror >::type Kokkos::create_mirror ( const Kokkos::View< T, P...> &  src)
inline

Definition at line 197 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class Space , class T , class... P, typename Enable = std::enable_if_t<Kokkos::is_space<Space>::value>>
std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value, typename Impl::MirrorViewType< Space, T, P...>::dest_view_type >::type Kokkos::create_mirror ( const Space &  ,
const Kokkos::View< T, P...> &  src 
)

Definition at line 233 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class T , class... P>
std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&!std::is_same< typename Kokkos::ViewTraits< T, P...>::array_layout, Kokkos::LayoutStride >::value, typename Kokkos::View< T, P...>::HostMirror >::type Kokkos::create_mirror ( Kokkos::Impl::WithoutInitializing_t  wi,
const Kokkos::View< T, P...> &  src 
)
inline

Definition at line 250 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class T , class... P>
std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&std::is_same< typename Kokkos::ViewTraits< T, P...>::array_layout, Kokkos::LayoutStride >::value, typename Kokkos::View< T, P...>::HostMirror >::type Kokkos::create_mirror ( Kokkos::Impl::WithoutInitializing_t  wi,
const Kokkos::View< T, P...> &  src 
)
inline

Definition at line 271 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class Space , class T , class... P, typename Enable = std::enable_if_t<Kokkos::is_space<Space>::value>>
std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value, typename Impl::MirrorViewType< Space, T, P...>::dest_view_type >::type Kokkos::create_mirror ( Kokkos::Impl::WithoutInitializing_t  wi,
const Space &  ,
const Kokkos::View< T, P...> &  src 
)

Definition at line 308 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T, P...>::view_type Kokkos::create_mirror_view_and_copy ( const Space &  ,
const Kokkos::View< T, P...> &  src,
std::string const &  name = "",
typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *  = nullptr 
)

Definition at line 320 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T, P...>::view_type Kokkos::create_mirror_view_and_copy ( const Space &  ,
const Kokkos::View< T, P...> &  src,
std::string const &  name = "",
typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&!Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *  = nullptr 
)

Definition at line 336 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class DT , class... DP>
void Kokkos::deep_copy ( const View< DT, DP...> &  view,
const typename View< DT, DP...>::array_type::value_type &  value,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *  = 0 
)

Definition at line 357 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class DT , class... DP>
void Kokkos::deep_copy ( const View< DT, DP...> &  view,
const typename View< DT, DP...>::value_type &  value,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *  = 0 
)

Definition at line 381 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class ExecSpace , class DT , class... DP>
void Kokkos::deep_copy ( const ExecSpace &  ,
const View< DT, DP...> &  view,
const typename View< DT, DP...>::array_type::value_type &  value,
typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *  = 0 
)

Definition at line 399 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class ExecSpace , class DT , class... DP>
void Kokkos::deep_copy ( const ExecSpace &  ,
const View< DT, DP...> &  view,
const typename View< DT, DP...>::value_type &  value,
typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *  = 0 
)

Definition at line 425 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class DT , class... DP, class ST , class... SP>
void Kokkos::deep_copy ( const View< DT, DP...> &  dst,
const View< ST, SP...> &  src,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *  = 0 
)
inline

Definition at line 640 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class ExecSpace , class DT , class... DP, class ST , class... SP>
void Kokkos::deep_copy ( const ExecSpace &  ,
const View< DT, DP...> &  dst,
const View< ST, SP...> &  src,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value)>::type *  = 0 
)
inline

Definition at line 486 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename T , typename... P>
KOKKOS_INLINE_FUNCTION constexpr std::enable_if< is_view_uq_pce< View<T,P...> >::value, unsigned >::type Kokkos::dimension_scalar ( const View< T, P...> &  view)

Definition at line 79 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename view_type >
KOKKOS_INLINE_FUNCTION constexpr std::enable_if< is_view_uq_pce<view_type>::value, typename CijkType<view_type>::type >::type Kokkos::cijk ( const view_type &  view)

Definition at line 88 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename view_type >
KOKKOS_INLINE_FUNCTION constexpr std::enable_if< is_view_uq_pce<view_type>::value, bool >::type Kokkos::is_allocation_contiguous ( const view_type &  view)

Definition at line 96 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( const std::string &  label,
const typename CijkType< ViewType >::type &  cijk,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 102 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( const std::string &  label,
const Impl::WithoutInitializing_t &  init,
const typename CijkType< ViewType >::type &  cijk,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 113 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename ViewType >
ViewType Kokkos::make_view ( const ViewAllocateWithoutInitializing &  init,
const typename CijkType< ViewType >::type &  cijk,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 125 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename ViewType >
std::enable_if< is_view_uq_pce<ViewType>::value, ViewType>::type Kokkos::make_view ( typename ViewType::pointer_type  ptr,
const typename CijkType< ViewType >::type &  cijk,
size_t  N0 = 0,
size_t  N1 = 0,
size_t  N2 = 0,
size_t  N3 = 0,
size_t  N4 = 0,
size_t  N5 = 0,
size_t  N6 = 0,
size_t  N7 = 0 
)

Definition at line 138 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename CijkType , typename AllocProp >
KOKKOS_INLINE_FUNCTION std::enable_if< !Impl::ctor_prop_has_cijk<AllocProp>::value, CijkType >::type Kokkos::extract_cijk ( const AllocProp &  prop)

Definition at line 746 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<typename CijkType , typename AllocProp >
KOKKOS_INLINE_FUNCTION std::enable_if< Impl::ctor_prop_has_cijk<AllocProp>::value, CijkType >::type Kokkos::extract_cijk ( const AllocProp &  prop)

Definition at line 755 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

template<class S , class L , class G , class N >
size_t Kokkos::dimension_scalar ( const Tpetra::MultiVector< S, L, G, N > &  mv)

Definition at line 293 of file Stokhos_Tpetra_UQ_PCE.hpp.

template<class S , class L , class G , class N >
size_t Kokkos::dimension_scalar ( const Tpetra::Vector< S, L, G, N > &  v)

Definition at line 306 of file Stokhos_Tpetra_UQ_PCE.hpp.

template<typename Storage >
KOKKOS_INLINE_FUNCTION void Kokkos::atomic_assign ( volatile Sacado::MP::Vector< Storage > *const  dest,
const Sacado::MP::Vector< Storage > &  src 
)

Definition at line 25 of file Kokkos_Atomic_MP_Vector.hpp.

template<typename Storage >
KOKKOS_INLINE_FUNCTION void Kokkos::atomic_add ( volatile Sacado::MP::Vector< Storage > *const  dest,
const Sacado::MP::Vector< Storage > &  src 
)

Definition at line 43 of file Kokkos_Atomic_MP_Vector.hpp.

template<class T , class... P, class... ViewCtorArgs>
auto Kokkos::create_mirror ( const Impl::ViewCtorProp< ViewCtorArgs...> &  arg_prop,
const View< T, P...> &  src,
typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *  = nullptr 
)
inline

Definition at line 96 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class T , class... P>
auto Kokkos::create_mirror ( const View< T, P...> &  src,
typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *  = nullptr 
)
inline

Definition at line 138 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class Space , class T , class... P, typename Enable = std::enable_if_t<Kokkos::is_space<Space>::value>>
auto Kokkos::create_mirror ( const Space &  space,
const View< T, P...> &  src,
typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *  = nullptr 
)
inline

Definition at line 149 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class T , class... P>
auto Kokkos::create_mirror ( Impl::WithoutInitializing_t  wi,
const View< T, P...> &  src,
typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *  = nullptr 
)
inline

Definition at line 161 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class Space , class T , class... P, typename Enable = std::enable_if_t<is_space<Space>::value>>
auto Kokkos::create_mirror ( Impl::WithoutInitializing_t  wi,
const Space &  space,
const View< T, P...> &  src,
typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *  = nullptr 
)
inline

Definition at line 173 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class T , class... P, class... ViewCtorArgs>
auto Kokkos::create_mirror_view ( const Impl::ViewCtorProp< ViewCtorArgs...> &  arg_prop,
const Kokkos::View< T, P...> &  src,
typename std::enable_if_t< std::is_same_v< typename ViewTraits< T, P...>::specialize, Experimental::Impl::ViewMPVectorContiguous >> *  = nullptr 
)
inline

Definition at line 186 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T, P...>::view_type Kokkos::create_mirror_view_and_copy ( const Space &  ,
const Kokkos::View< T, P...> &  src,
std::string const &  name = "",
typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *  = nullptr 
)

Definition at line 199 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class Space , class T , class... P>
Impl::MirrorViewType< Space, T, P...>::view_type Kokkos::create_mirror_view_and_copy ( const Space &  ,
const Kokkos::View< T, P...> &  src,
std::string const &  name = "",
typename std::enable_if< std::is_same< typename ViewTraits< T, P...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&!Impl::MirrorViewType< Space, T, P...>::is_same_memspace >::type *  = nullptr 
)

Definition at line 215 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class DT , class... DP>
void Kokkos::deep_copy ( const View< DT, DP...> &  view,
const typename View< DT, DP...>::array_type::value_type &  value,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *  = 0 
)

Definition at line 236 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class DT , class... DP>
void Kokkos::deep_copy ( const View< DT, DP...> &  view,
const typename View< DT, DP...>::value_type &  value,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *  = 0 
)

Definition at line 255 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class ExecSpace , class DT , class... DP>
void Kokkos::deep_copy ( const ExecSpace &  ,
const View< DT, DP...> &  view,
const typename View< DT, DP...>::array_type::value_type &  value,
typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *  = 0 
)

Definition at line 280 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class ExecSpace , class DT , class... DP>
void Kokkos::deep_copy ( const ExecSpace &  ,
const View< DT, DP...> &  view,
const typename View< DT, DP...>::value_type &  value,
typename std::enable_if<(Kokkos::is_execution_space< ExecSpace >::value &&std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *  = 0 
)

Definition at line 301 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class DT , class... DP, class ST , class... SP>
void Kokkos::deep_copy ( const View< DT, DP...> &  dst,
const View< ST, SP...> &  src,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *  = 0 
)
inline

Definition at line 370 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class ExecSpace , class DT , class... DP, class ST , class... SP>
void Kokkos::deep_copy ( const ExecSpace &  exec,
const View< DT, DP...> &  dst,
const View< ST, SP...> &  src,
typename std::enable_if<(std::is_same< typename ViewTraits< DT, DP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *  = 0 
)
inline

Definition at line 329 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
void Kokkos::deep_copy ( const View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced > &  dst,
const View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced > &  src,
typename Impl::enable_if<(Impl::is_same< typename View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced >::intinsic_scalar_type, typename View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced >::intinsic_scalar_type >::value &&Impl::is_same< typename View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced >::array_layout, typename View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced >::array_layout >::value &&(unsigned(View< DT, DL, DD, DM, Impl::ViewMPVectorInterlaced >::rank)==unsigned(View< ST, SL, SD, SM, Impl::ViewMPVectorInterlaced >::rank)))>::type *  = 0 
)
inline

A deep copy between views of the same specialization, compatible type, same rank, same layout are handled by that specialization.

Definition at line 808 of file Kokkos_View_MP_Vector_Interlaced.hpp.

template<typename T , typename... P>
KOKKOS_INLINE_FUNCTION constexpr std::enable_if< is_view_mp_vector< View<T,P...> >::value, unsigned >::type Kokkos::dimension_scalar ( const View< T, P...> &  view)

Definition at line 70 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

template<unsigned Size, typename D , typename... P>
KOKKOS_INLINE_FUNCTION Kokkos::Impl::ViewMapping< void, typename Kokkos::ViewTraits<D,P...>, Sacado::MP::VectorPartition<Size> >::type Kokkos::partition ( const Kokkos::View< D, P...> &  src,
const unsigned  beg 
)

Definition at line 1650 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Variable Documentation

unsigned Kokkos::global_sacado_mp_vector_size = 0

Definition at line 14 of file Kokkos_View_MP_Vector.cpp.