Boost logo

Boost :

Subject: Re: [boost] Accelerating algorithms with SIMD - Segmented iterators and alternatives
From: David Abrahams (dave_at_[hidden])
Date: 2010-10-14 23:43:41


At Thu, 14 Oct 2010 19:26:00 +0100,
Mathias Gaunard wrote:
>
> On 13/10/10 18:45, David Abrahams wrote:
> > At Wed, 13 Oct 2010 17:09:38 +0100,
> > Mathias Gaunard wrote:
>
> >> Well, the limitation is how you can combine those "generators" to
> >> iterate several at the same time, be it for merge or otherwise.
> >
> > Ah.
> >
> >> I don't see a good way to do this with segmented iterators either.
> >
> > :-) zip_iterator
>
> zip_iterator doesn't work with segmented iterators. Well it does work
> in the sense that segmented iterators also provide a fallback flat
> iterator, but it doesn't work with the actual segmented one.

It could be made to work. It just takes... work :-)

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk