Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ScalarAssignKernel< ViewType > Struct Template Reference

#include <Fad_KokkosTests.hpp>

Public Types

typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 
typedef
ViewType::value_type::value_type 
ScalarType
 
typedef Kokkos::TeamPolicy
< execution_space
team_policy_type
 
typedef Kokkos::RangePolicy
< execution_space
range_policy_type
 
typedef
team_policy_type::member_type 
team_handle
 

Public Member Functions

 ScalarAssignKernel (const ViewType &v, const ScalarType &s)
 
KOKKOS_INLINE_FUNCTION void operator() (const size_type i) const
 
KOKKOS_INLINE_FUNCTION void operator() (const team_handle &team) const
 

Static Public Member Functions

static void apply (const ViewType &v, const ScalarType &s)
 

Public Attributes

const ViewType m_v
 
const ScalarType m_s
 

Static Public Attributes

static const size_type stride = Kokkos::ViewScalarStride<ViewType>::stride
 

Detailed Description

template<typename ViewType>
struct ScalarAssignKernel< ViewType >

Definition at line 180 of file Fad_KokkosTests.hpp.

Member Typedef Documentation

template<typename ViewType >
typedef ViewType::execution_space ScalarAssignKernel< ViewType >::execution_space

Definition at line 181 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef ViewType::size_type ScalarAssignKernel< ViewType >::size_type

Definition at line 182 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef ViewType::value_type::value_type ScalarAssignKernel< ViewType >::ScalarType

Definition at line 183 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef Kokkos::TeamPolicy< execution_space> ScalarAssignKernel< ViewType >::team_policy_type

Definition at line 184 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef Kokkos::RangePolicy< execution_space> ScalarAssignKernel< ViewType >::range_policy_type

Definition at line 185 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef team_policy_type::member_type ScalarAssignKernel< ViewType >::team_handle

Definition at line 186 of file Fad_KokkosTests.hpp.

Constructor & Destructor Documentation

template<typename ViewType >
ScalarAssignKernel< ViewType >::ScalarAssignKernel ( const ViewType &  v,
const ScalarType s 
)
inline

Definition at line 192 of file Fad_KokkosTests.hpp.

Member Function Documentation

template<typename ViewType >
KOKKOS_INLINE_FUNCTION void ScalarAssignKernel< ViewType >::operator() ( const size_type  i) const
inline

Definition at line 197 of file Fad_KokkosTests.hpp.

template<typename ViewType >
KOKKOS_INLINE_FUNCTION void ScalarAssignKernel< ViewType >::operator() ( const team_handle team) const
inline

Definition at line 202 of file Fad_KokkosTests.hpp.

template<typename ViewType >
static void ScalarAssignKernel< ViewType >::apply ( const ViewType &  v,
const ScalarType s 
)
inlinestatic

Definition at line 210 of file Fad_KokkosTests.hpp.

Member Data Documentation

template<typename ViewType >
const size_type ScalarAssignKernel< ViewType >::stride = Kokkos::ViewScalarStride<ViewType>::stride
static

Definition at line 187 of file Fad_KokkosTests.hpp.

template<typename ViewType >
const ViewType ScalarAssignKernel< ViewType >::m_v

Definition at line 189 of file Fad_KokkosTests.hpp.

template<typename ViewType >
const ScalarType ScalarAssignKernel< ViewType >::m_s

Definition at line 190 of file Fad_KokkosTests.hpp.


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