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 | List of all members
MultiplyKernel< InputViewType1, InputViewType2, OutputViewType > Struct Template Reference

#include <Fad_KokkosTests.hpp>

Public Types

typedef
InputViewType1::execution_space 
execution_space
 
typedef InputViewType1::size_type size_type
 
typedef Kokkos::RangePolicy
< execution_space
range_policy_type
 
typedef Kokkos::TeamPolicy
< execution_space
team_policy_type
 
typedef
team_policy_type::member_type 
team_handle
 

Public Member Functions

 MultiplyKernel (const InputViewType1 v1, const InputViewType2 v2, const OutputViewType v3, const bool update)
 
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 InputViewType1 v1, const InputViewType2 v2, const OutputViewType v3, const bool update=false)
 

Public Attributes

const InputViewType1 m_v1
 
const InputViewType2 m_v2
 
const OutputViewType m_v3
 
const bool m_update
 

Detailed Description

template<typename InputViewType1, typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
struct MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >

Definition at line 105 of file Fad_KokkosTests.hpp.

Member Typedef Documentation

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
typedef InputViewType1::execution_space MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::execution_space

Definition at line 106 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
typedef InputViewType1::size_type MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::size_type

Definition at line 107 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
typedef Kokkos::RangePolicy< execution_space> MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::range_policy_type

Definition at line 108 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
typedef Kokkos::TeamPolicy< execution_space> MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::team_policy_type

Definition at line 109 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
typedef team_policy_type::member_type MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::team_handle

Definition at line 110 of file Fad_KokkosTests.hpp.

Constructor & Destructor Documentation

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::MultiplyKernel ( const InputViewType1  v1,
const InputViewType2  v2,
const OutputViewType  v3,
const bool  update 
)
inline

Definition at line 117 of file Fad_KokkosTests.hpp.

Member Function Documentation

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
KOKKOS_INLINE_FUNCTION void MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::operator() ( const size_type  i) const
inline

Definition at line 125 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
KOKKOS_INLINE_FUNCTION void MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::operator() ( const team_handle team) const
inline

Definition at line 133 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
static void MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::apply ( const InputViewType1  v1,
const InputViewType2  v2,
const OutputViewType  v3,
const bool  update = false 
)
inlinestatic

Definition at line 141 of file Fad_KokkosTests.hpp.

Member Data Documentation

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
const InputViewType1 MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::m_v1

Definition at line 112 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
const InputViewType2 MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::m_v2

Definition at line 113 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
const OutputViewType MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::m_v3

Definition at line 114 of file Fad_KokkosTests.hpp.

template<typename InputViewType1 , typename InputViewType2 = InputViewType1, typename OutputViewType = InputViewType1>
const bool MultiplyKernel< InputViewType1, InputViewType2, OutputViewType >::m_update

Definition at line 115 of file Fad_KokkosTests.hpp.


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