Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
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 > Class Template Reference

Assign compatible Sacado FAD<MP::Vector> view mappings. More...

#include <KokkosExp_View_MP_Vector_Contiguous.hpp>

Public Types

enum  { is_assignable = true }
 
enum  { is_assignable_data_type = true }
 
typedef Kokkos::Impl::SharedAllocationTracker TrackType
 
typedef ViewMapping< DstTraits, typename DstTraits::specialize > DstType
 
typedef ViewMapping< SrcTraits, typename SrcTraits::specialize > SrcFadType
 

Static Public Member Functions

template<class DstType >
static KOKKOS_INLINE_FUNCTION void assign (DstType &dst, const SrcFadType &src, const TrackType &)
 

Detailed Description

template<class DstTraits, class SrcTraits>
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.

View<MP::Vector> = View< FAD<MP::Vector> >

This only works for statically allocated MP::Vector currently

Definition at line 1844 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Typedef Documentation

◆ TrackType

template<class DstTraits , class SrcTraits >
typedef Kokkos::Impl::SharedAllocationTracker 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 >::TrackType

Definition at line 1865 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ DstType

template<class DstTraits , class SrcTraits >
typedef ViewMapping< DstTraits , typename DstTraits::specialize > 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 >::DstType

Definition at line 1866 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ SrcFadType

template<class DstTraits , class SrcTraits >
typedef ViewMapping< SrcTraits , typename SrcTraits::specialize > 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 >::SrcFadType

Definition at line 1867 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class DstTraits , class SrcTraits >
anonymous enum
Enumerator
is_assignable 

Definition at line 1862 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ anonymous enum

template<class DstTraits , class SrcTraits >
anonymous enum
Enumerator
is_assignable_data_type 

Definition at line 1863 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Function Documentation

◆ assign()

template<class DstTraits , class SrcTraits >
template<class DstType >
static KOKKOS_INLINE_FUNCTION void 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 ( DstType & dst,
const SrcFadType & src,
const TrackType &  )
inlinestatic

Definition at line 1871 of file KokkosExp_View_MP_Vector_Contiguous.hpp.


The documentation for this class was generated from the following file: