28 template<
typename DataType,
typename T_Device, alpaka::concepts::QueueKind T_QueueKind>
32 DataType
const& neutralElement,
34 auto&& binaryReduceFn,
63 template<
typename DataType,
typename T_Device, alpaka::concepts::QueueKind T_QueueKind>
66 DataType
const& neutralElement,
68 auto&& binaryReduceFn,
#define ALPAKA_TYPEOF(...)
Get the type of instance.
#define ALPAKA_FORWARD(instance)
Perfectly forward an instance as argument.
Concept to check for an executor.
Interface concept for objects describing multidimensional memory access.
constexpr AnyExecutor anyExecutor
Automatic executor selection.
void transformReduce(auto const &queue, alpaka::concepts::Executor auto const exec, T_DataType const &neutralElement, alpaka::concepts::IMdSpan auto out, auto &&reduceFn, auto &&transformFn, auto &&in0, alpaka::concepts::IDataSource auto &&... in)
Functionality which is usable on the host CPU controller thread.
constexpr auto defaultExecutor(internal::concepts::DeviceHandle auto deviceHandle)
Select a default executor for the given device.
void reduce(Queue< T_Device, T_QueueKind > const &queue, alpaka::concepts::Executor auto const exec, DataType const &neutralElement, alpaka::concepts::IMdSpan auto out, auto &&binaryReduceFn, auto &&in)
accumulate the results into a scalar value.
typename GetValueType< T >::type GetValueType_t