Struct SumReducer¶
Defined in File reduce.hpp
Struct Documentation¶
-
struct
ripple
::
SumReducer
¶ Functor which can be used with the reduction to perform a reduction sum.
#collectives-cg-reduce
- Note
There is supposedly hardware support for certain predicates, see:
In the CUDA programming guide, however, it’s been tested on sm_80 and sm_86 and there is very little difference in performance compared to the implementations below, which work with both the host and device reduction versions, so these are preferred. Perhaps there is more difference in performance for different use cases than those which were tested.