Accumulating the transformed sequence on the fly leads to a serial accumulation. As @kylelutz said, using a buffer eventually leads to reduce() or reduce_on_gpu() which is much faster.