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

#include <Fad_KokkosAtomicTests.hpp>

Public Types

typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 
typedef Kokkos::TeamPolicy
< execution_space >
::member_type 
team_handle
 
typedef
Kokkos::ThreadLocalScalarType
< ViewType >::type 
local_scalar_type
 

Public Member Functions

 AtomicKernel (const ViewType &v, const ScalarViewType &s)
 
KOKKOS_INLINE_FUNCTION void operator() (AddTag tag, const size_type i) const
 
KOKKOS_INLINE_FUNCTION void operator() (SubTag tag, const size_type i) const
 
KOKKOS_INLINE_FUNCTION void operator() (MulTag tag, const size_type i) const
 
KOKKOS_INLINE_FUNCTION void operator() (DivTag tag, const size_type i) const
 
KOKKOS_INLINE_FUNCTION void operator() (MaxTag tag, const size_type i) const
 
KOKKOS_INLINE_FUNCTION void operator() (MinTag tag, const size_type i) const
 
template<typename Tag >
KOKKOS_INLINE_FUNCTION void operator() (Tag tag, const team_handle &team) const
 

Static Public Member Functions

template<typename Tag >
static void apply (Tag tag, 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, bool OperFetch>
struct AtomicKernel< ViewType, ScalarViewType, OperFetch >

Definition at line 122 of file Fad_KokkosAtomicTests.hpp.

Member Typedef Documentation

template<typename ViewType , typename ScalarViewType , bool OperFetch>
typedef ViewType::execution_space AtomicKernel< ViewType, ScalarViewType, OperFetch >::execution_space

Definition at line 123 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
typedef ViewType::size_type AtomicKernel< ViewType, ScalarViewType, OperFetch >::size_type

Definition at line 124 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
typedef Kokkos::TeamPolicy< execution_space>::member_type AtomicKernel< ViewType, ScalarViewType, OperFetch >::team_handle

Definition at line 125 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
typedef Kokkos::ThreadLocalScalarType<ViewType>::type AtomicKernel< ViewType, ScalarViewType, OperFetch >::local_scalar_type

Definition at line 126 of file Fad_KokkosAtomicTests.hpp.

Constructor & Destructor Documentation

template<typename ViewType , typename ScalarViewType , bool OperFetch>
AtomicKernel< ViewType, ScalarViewType, OperFetch >::AtomicKernel ( const ViewType &  v,
const ScalarViewType &  s 
)
inline

Definition at line 132 of file Fad_KokkosAtomicTests.hpp.

Member Function Documentation

template<typename ViewType , typename ScalarViewType , bool OperFetch>
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( AddTag  tag,
const size_type  i 
) const
inline

Definition at line 136 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( SubTag  tag,
const size_type  i 
) const
inline

Definition at line 145 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( MulTag  tag,
const size_type  i 
) const
inline

Definition at line 154 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( DivTag  tag,
const size_type  i 
) const
inline

Definition at line 163 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( MaxTag  tag,
const size_type  i 
) const
inline

Definition at line 172 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( MinTag  tag,
const size_type  i 
) const
inline

Definition at line 181 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
template<typename Tag >
KOKKOS_INLINE_FUNCTION void AtomicKernel< ViewType, ScalarViewType, OperFetch >::operator() ( Tag  tag,
const team_handle team 
) const
inline

Definition at line 191 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
template<typename Tag >
static void AtomicKernel< ViewType, ScalarViewType, OperFetch >::apply ( Tag  tag,
const ViewType &  v,
const ScalarViewType &  s 
)
inlinestatic

Definition at line 200 of file Fad_KokkosAtomicTests.hpp.

Member Data Documentation

template<typename ViewType , typename ScalarViewType , bool OperFetch>
const size_type AtomicKernel< ViewType, ScalarViewType, OperFetch >::stride = Kokkos::ViewScalarStride<ViewType>::stride
static

Definition at line 127 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
const ViewType AtomicKernel< ViewType, ScalarViewType, OperFetch >::m_v

Definition at line 129 of file Fad_KokkosAtomicTests.hpp.

template<typename ViewType , typename ScalarViewType , bool OperFetch>
const ScalarViewType AtomicKernel< ViewType, ScalarViewType, OperFetch >::m_s

Definition at line 130 of file Fad_KokkosAtomicTests.hpp.


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