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
ValueAssignKernel< 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 ValueType
 
typedef Kokkos::TeamPolicy
< execution_space
team_policy_type
 
typedef Kokkos::RangePolicy
< execution_space
range_policy_type
 
typedef
team_policy_type::member_type 
team_handle
 
typedef
Kokkos::ThreadLocalScalarType
< ViewType >::type 
local_scalar_type
 

Public Member Functions

 ValueAssignKernel (const ViewType &v, const ValueType &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 ValueType &s)
 

Public Attributes

const ViewType m_v
 
const ValueType m_s
 

Static Public Attributes

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

Detailed Description

template<typename ViewType>
struct ValueAssignKernel< ViewType >

Definition at line 243 of file Fad_KokkosTests.hpp.

Member Typedef Documentation

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

Definition at line 244 of file Fad_KokkosTests.hpp.

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

Definition at line 245 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef ViewType::value_type ValueAssignKernel< ViewType >::ValueType

Definition at line 246 of file Fad_KokkosTests.hpp.

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

Definition at line 247 of file Fad_KokkosTests.hpp.

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

Definition at line 248 of file Fad_KokkosTests.hpp.

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

Definition at line 249 of file Fad_KokkosTests.hpp.

template<typename ViewType >
typedef Kokkos::ThreadLocalScalarType<ViewType>::type ValueAssignKernel< ViewType >::local_scalar_type

Definition at line 250 of file Fad_KokkosTests.hpp.

Constructor & Destructor Documentation

template<typename ViewType >
ValueAssignKernel< ViewType >::ValueAssignKernel ( const ViewType &  v,
const ValueType s 
)
inline

Definition at line 256 of file Fad_KokkosTests.hpp.

Member Function Documentation

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

Definition at line 261 of file Fad_KokkosTests.hpp.

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

Definition at line 267 of file Fad_KokkosTests.hpp.

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

Definition at line 275 of file Fad_KokkosTests.hpp.

Member Data Documentation

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

Definition at line 251 of file Fad_KokkosTests.hpp.

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

Definition at line 253 of file Fad_KokkosTests.hpp.

template<typename ViewType >
const ValueType ValueAssignKernel< ViewType >::m_s

Definition at line 254 of file Fad_KokkosTests.hpp.


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