cub::internal::ThreadReduce
Defined in /home/runner/work/cccl/cccl/cub/cub/thread/thread_reduce.cuh
-
template<int LENGTH, typename T, typename ReductionOp, typename PrefixT, typename AccumT = detail::accumulator_t<ReductionOp, PrefixT, T>>
AccumT cub::internal::ThreadReduce(T *input, ReductionOp reduction_op, PrefixT prefix, Int2Type<LENGTH>) Sequential reduction over statically-sized array types.
- Parameters
input – [in] Input array
reduction_op – [in] Binary reduction operator
prefix – [in] Prefix to seed reduction with