Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
KokkosExp_View_MP_Vector_Contiguous.hpp File Reference
#include "Kokkos_View_MP_Vector_Fwd.hpp"
#include "Kokkos_Layout.hpp"
#include "Kokkos_View_Utils.hpp"
#include "Kokkos_View_MP_Vector_Utils.hpp"
#include "Sacado_Traits.hpp"
#include "Sacado_MP_Vector.hpp"
#include "Sacado_MP_VectorTraits.hpp"
#include "Kokkos_Core.hpp"
#include "Kokkos_View_Utils_Def.hpp"
Include dependency graph for KokkosExp_View_MP_Vector_Contiguous.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Kokkos::Experimental::Impl::ViewMPVectorContiguous
 
struct  Kokkos::Experimental::Impl::is_ViewMPVectorContiguous< Args >
 
struct  Kokkos::Experimental::Impl::is_ViewMPVectorContiguous< Kokkos::View< D, P...>, Args... >
 
struct  Kokkos::is_view_mp_vector< View< T, P...> >
 
struct  Kokkos::FlatArrayType< View< D, P...>, typename std::enable_if< is_view_mp_vector< View< D, P...> >::value >::type >
 
struct  Kokkos::Impl::ViewDataAnalysis< DataType, ArrayLayout, Sacado::MP::Vector< StorageType > >
 
struct  Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, is_static >
 
struct  Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >
 
struct  Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::ConstructDestructFunctor< ExecSpace >
 
struct  Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >
 
struct  Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::VectorConstruct< ExecSpace >
 
struct  Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >
 
class  Kokkos::Impl::ViewMapping< Traits, typename std::enable_if< (std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value)), typename Traits::specialize >::type >
 
class  Kokkos::Impl::ViewMapping< DstTraits, SrcTraits, typename std::enable_if<(Kokkos::Impl::MemorySpaceAccess< typename DstTraits::memory_space, typename SrcTraits::memory_space >::assignable &&std::is_same< typename DstTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&std::is_same< typename SrcTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value), typename DstTraits::specialize >::type >
 Assign compatible Sacado::MP::Vector view mappings. More...
 
class  Kokkos::Impl::ViewMapping< DstTraits, SrcTraits, typename std::enable_if<(Kokkos::Impl::MemorySpaceAccess< typename DstTraits::memory_space, typename SrcTraits::memory_space >::assignable &&std::is_same< typename DstTraits::specialize, void >::value &&std::is_same< typename SrcTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&unsigned(DstTraits::dimension::rank)==unsigned(SrcTraits::dimension::rank)+1), typename DstTraits::specialize >::type >
 Assign compatible Sacado::MP::Vector view mappings. More...
 
class  Kokkos::Impl::ViewMapping< DstTraits, SrcTraits, typename std::enable_if<(Kokkos::Impl::MemorySpaceAccess< typename DstTraits::memory_space, typename SrcTraits::memory_space >::assignable &&std::is_same< typename DstTraits::specialize, void >::value &&std::is_same< typename SrcTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&unsigned(DstTraits::dimension::rank)==unsigned(SrcTraits::dimension::rank)), typename DstTraits::specialize >::type >
 Assign compatible Sacado::MP::Vector view mappings. More...
 
struct  Kokkos::Impl::ViewMapping< typename std::enable_if<(std::is_same< typename Kokkos::ViewTraits< DataType, P...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&(std::is_same< typename Kokkos::ViewTraits< DataType, P...>::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Kokkos::ViewTraits< DataType, P...>::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Kokkos::ViewTraits< DataType, P...>::array_layout, Kokkos::LayoutStride >::value)&&!Sacado::MP::is_vector_partition< Arg0 >::value)>::type, Kokkos::ViewTraits< DataType, P...>, Arg0, Args... >
 
class  Kokkos::Impl::ViewMapping< void, ViewTraits< DataType, P...>, Sacado::MP::VectorPartition< Size > >
 
class  Kokkos::Impl::ViewMapping< DstTraits, SrcTraits, typename std::enable_if<(Kokkos::Impl::MemorySpaceAccess< typename DstTraits::memory_space, typename SrcTraits::memory_space >::assignable &&std::is_same< typename DstTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&std::is_same< typename SrcTraits::specialize, ViewSpecializeSacadoFad >::value), typename DstTraits::specialize >::type >
 Assign compatible Sacado FAD<MP::Vector> view mappings. More...
 

Namespaces

 Kokkos
 
 Kokkos::Experimental
 
 Kokkos::Experimental::Impl
 
 Kokkos::Impl
 

Macros

#define KOKKOS_IMPL_PUBLIC_INCLUDE
 
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_CORE
 

Functions

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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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::ViewMPVectorContiguous >::value &&std::is_same< typename ViewTraits< ST, SP...>::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value)>::type *=0)
 
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)
 
template<unsigned N, typename... Args>
KOKKOS_FUNCTION
std::enable_if_t< N==View
< Args...>::rank
&&std::is_same< typename
ViewTraits< Args...>
::specialize,
Kokkos::Experimental::Impl::ViewMPVectorContiguous >
::value, View< Args...> > 
Kokkos::Impl::as_view_of_rank_n (View< Args...> v)
 
template<unsigned N, typename T , typename... Args>
std::enable_if_t< N!=View< T,
Args...>::rank &&std::is_same
< typename ViewTraits< T,
Args...>::specialize,
Kokkos::Experimental::Impl::ViewMPVectorContiguous >
::value, View< typename
RankDataType< typename View< T,
Args...>::value_type, N >
::type, Args...> > 
Kokkos::Impl::as_view_of_rank_n (View< T, Args...>)
 
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)
 

Macro Definition Documentation

#define KOKKOS_IMPL_PUBLIC_INCLUDE

Definition at line 19 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_CORE

Definition at line 20 of file KokkosExp_View_MP_Vector_Contiguous.hpp.