Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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_spaceteam_policy_type
 
typedef Kokkos::RangePolicy< execution_spacerange_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 432 of file Fad_KokkosTests.hpp.

Member Typedef Documentation

◆ execution_space

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

Definition at line 433 of file Fad_KokkosTests.hpp.

◆ size_type

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

Definition at line 434 of file Fad_KokkosTests.hpp.

◆ team_policy_type

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

Definition at line 435 of file Fad_KokkosTests.hpp.

◆ range_policy_type

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

Definition at line 436 of file Fad_KokkosTests.hpp.

◆ team_handle

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

Definition at line 437 of file Fad_KokkosTests.hpp.

◆ local_scalar_type

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

Definition at line 438 of file Fad_KokkosTests.hpp.

Constructor & Destructor Documentation

◆ AtomicAddKernel()

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

Definition at line 444 of file Fad_KokkosTests.hpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 449 of file Fad_KokkosTests.hpp.

◆ operator()() [2/2]

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

Definition at line 455 of file Fad_KokkosTests.hpp.

◆ apply()

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

Definition at line 463 of file Fad_KokkosTests.hpp.

Member Data Documentation

◆ stride

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

Definition at line 439 of file Fad_KokkosTests.hpp.

◆ m_v

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

Definition at line 441 of file Fad_KokkosTests.hpp.

◆ m_s

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

Definition at line 442 of file Fad_KokkosTests.hpp.


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