Reduce with barriers is essential (and amazingly powerful) in parallel functional programming languages like CUDA Thrust.
Yea, reduce is most useful as a parallel operation, like in MapReduce
(Or, at minimum, when the reduction operation is commutative)
Yea, reduce is most useful as a parallel operation, like in MapReduce
(Or, at minimum, when the reduction operation is commutative)