VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor Class Reference

Public Types

using size_type = vtkm::Id
 
using value_type = ResultType
 

Public Member Functions

KOKKOS_INLINE_FUNCTION KokkosReduceFunctor ()
 
template<typename... Args>
KOKKOS_INLINE_FUNCTION KokkosReduceFunctor (const BinaryOperator &op, Args... args)
 
KOKKOS_INLINE_FUNCTION void join (VTKM_VOLATILE value_type &dst, const VTKM_VOLATILE value_type &src) const
 
KOKKOS_INLINE_FUNCTION void init (value_type &dst) const
 
KOKKOS_INLINE_FUNCTION void operator() (vtkm::Id i, ResultType &update) const
 
KOKKOS_INLINE_FUNCTION void operator() (vtkm::Id i, ResultType &update, const bool final) const
 

Private Attributes

BinaryOperator Operator
 
FunctorOperator Functor
 

Member Typedef Documentation

◆ size_type

using vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::size_type = vtkm::Id

◆ value_type

using vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::value_type = ResultType

Constructor & Destructor Documentation

◆ KokkosReduceFunctor() [1/2]

KOKKOS_INLINE_FUNCTION vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::KokkosReduceFunctor ( )
inline

◆ KokkosReduceFunctor() [2/2]

template<typename... Args>
KOKKOS_INLINE_FUNCTION vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::KokkosReduceFunctor ( const BinaryOperator &  op,
Args...  args 
)
inlineexplicit

Member Function Documentation

◆ init()

KOKKOS_INLINE_FUNCTION void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::init ( value_type dst) const
inline

◆ join()

KOKKOS_INLINE_FUNCTION void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::join ( VTKM_VOLATILE value_type dst,
const VTKM_VOLATILE value_type src 
) const
inline

◆ operator()() [1/2]

KOKKOS_INLINE_FUNCTION void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::operator() ( vtkm::Id  i,
ResultType &  update 
) const
inline

◆ operator()() [2/2]

KOKKOS_INLINE_FUNCTION void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::operator() ( vtkm::Id  i,
ResultType &  update,
const bool  final 
) const
inline

Member Data Documentation

◆ Functor

FunctorOperator vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::Functor
private

◆ Operator

BinaryOperator vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >::KokkosReduceFunctor::Operator
private

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