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
AtomicAddKernel< ViewType, ScalarViewType > Struct Template Reference

#include <Fad_KokkosTests.hpp>

Public Types

typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 
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

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

Public Attributes

const ViewType m_v
 
const ScalarViewType m_s
 

Static Public Attributes

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

Detailed Description

template<typename ViewType, typename ScalarViewType>
struct AtomicAddKernel< ViewType, ScalarViewType >

Definition at line 413 of file Fad_KokkosTests.hpp.

Member Typedef Documentation

template<typename ViewType , typename ScalarViewType >
typedef ViewType::execution_space AtomicAddKernel< ViewType, ScalarViewType >::execution_space

Definition at line 414 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
typedef ViewType::size_type AtomicAddKernel< ViewType, ScalarViewType >::size_type

Definition at line 415 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
typedef Kokkos::TeamPolicy< execution_space> AtomicAddKernel< ViewType, ScalarViewType >::team_policy_type

Definition at line 416 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
typedef Kokkos::RangePolicy< execution_space> AtomicAddKernel< ViewType, ScalarViewType >::range_policy_type

Definition at line 417 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
typedef team_policy_type::member_type AtomicAddKernel< ViewType, ScalarViewType >::team_handle

Definition at line 418 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
typedef Kokkos::ThreadLocalScalarType<ViewType>::type AtomicAddKernel< ViewType, ScalarViewType >::local_scalar_type

Definition at line 419 of file Fad_KokkosTests.hpp.

Constructor & Destructor Documentation

template<typename ViewType , typename ScalarViewType >
AtomicAddKernel< ViewType, ScalarViewType >::AtomicAddKernel ( const ViewType &  v,
const ScalarViewType &  s 
)
inline

Definition at line 425 of file Fad_KokkosTests.hpp.

Member Function Documentation

template<typename ViewType , typename ScalarViewType >
KOKKOS_INLINE_FUNCTION void AtomicAddKernel< ViewType, ScalarViewType >::operator() ( const size_type  i) const
inline

Definition at line 430 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
KOKKOS_INLINE_FUNCTION void AtomicAddKernel< ViewType, ScalarViewType >::operator() ( const team_handle team) const
inline

Definition at line 436 of file Fad_KokkosTests.hpp.

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

Definition at line 444 of file Fad_KokkosTests.hpp.

Member Data Documentation

template<typename ViewType , typename ScalarViewType >
const size_type AtomicAddKernel< ViewType, ScalarViewType >::stride = Kokkos::ViewScalarStride<ViewType>::stride
static

Definition at line 420 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
const ViewType AtomicAddKernel< ViewType, ScalarViewType >::m_v

Definition at line 422 of file Fad_KokkosTests.hpp.

template<typename ViewType , typename ScalarViewType >
const ScalarViewType AtomicAddKernel< ViewType, ScalarViewType >::m_s

Definition at line 423 of file Fad_KokkosTests.hpp.


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