alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp > Struct Template Reference

Public Member Functions

constexpr ScalarReducer (T_Acc const &acc, auto &&func)
constexpr auto operator() (auto &&a, auto &&b) const
constexpr auto operator() (auto &&a, auto &&b) const

Public Attributes

T_Acc const & m_acc
T_ReduceOp const & m_reduceOp

Static Private Member Functions

template<uint32_t... T_idx>
ALPAKA_FN_INLINE static ALPAKA_FN_ACC constexpr auto loadAncExecuteScalarOp (std::integer_sequence< uint32_t, T_idx... >, auto &&op, auto const &acc, auto &&func, auto &&... data)

Detailed Description

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
struct alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >

Definition at line 285 of file SimdTransformReduce.hpp.

Constructor & Destructor Documentation

◆ ScalarReducer()

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >::ScalarReducer ( T_Acc const & acc,
auto && func )
inlineconstexpr

Definition at line 291 of file SimdTransformReduce.hpp.

Member Function Documentation

◆ loadAncExecuteScalarOp()

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
template<uint32_t... T_idx>
ALPAKA_FN_INLINE static ALPAKA_FN_ACC constexpr auto alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >::loadAncExecuteScalarOp ( std::integer_sequence< uint32_t, T_idx... > ,
auto && op,
auto const & acc,
auto && func,
auto &&... data )
inlinestaticconstexprprivate

Definition at line 327 of file SimdTransformReduce.hpp.

◆ operator()() [1/2]

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
auto alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >::operator() ( auto && a,
auto && b ) const
inlineconstexpr

Definition at line 319 of file SimdTransformReduce.hpp.

◆ operator()() [2/2]

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
auto alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >::operator() ( auto && a,
auto && b ) const
inlineconstexpr

Definition at line 295 of file SimdTransformReduce.hpp.

Member Data Documentation

◆ m_acc

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
T_Acc const& alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >::m_acc

Definition at line 288 of file SimdTransformReduce.hpp.

◆ m_reduceOp

template<typename T_Parent>
template<onAcc::concepts::Acc T_Acc, typename T_ReduceOp>
T_ReduceOp const& alpaka::onAcc::internal::SimdTransformReduce< T_Parent >::ScalarReducer< T_Acc, T_ReduceOp >::m_reduceOp

Definition at line 289 of file SimdTransformReduce.hpp.


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