Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2008-08-18 09:47:02

Pavol Droba wrote:
> Hi,
> I've just started to use the accumulators library. I must say that I
> like it a lot.

Great, thanks!

> However, I found one feature that I'm missing in the interface. In
> the time of multicore processors and Thread Building Blocks at hand,
> it would be nice to be able to use accumulators in parallel
> computations.
> To do so, one would need to combine partial computations. In other
> words, we need accumulator_set::combine(). This would combine the
> partial computation state from another accumulator_set.
> This operation would enable the accumulators to be used with
> parallel_reduce.
> I'm not expert in statistical computations, but as far as I can see,
> this should be doable quite easily.

Makes sense, and if I recall this has been discussed before. I even seem
to recall Matthias saying that something like this is planned. Matthias?

At any rate, could you open a feature request trac ticket for this so we
don't lose it? Thanks.

Eric Niebler
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at