Subject: Re: [boost] How to structurate libraries ?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-01-18 10:28:37
Joel Falcou wrote:
> More details :
> vec<T> encapsulates ONE sidm register, not a array.
> So the type is enough to know, for a given platform, how many component
> fits in the SIMD type
> (basically size of vector = 16/sizeof(T) for 128 bits wide SIMD
> extension, which is ofc handled correctly for less or greater extension).
So it's not portable at all.
> Then again, there is a float missing before r as the min is indeed a scalar
You had declared r to be a vec<float>.
> As for uBlas, uBlas handle array of data and may use SIMD extension.
> This library provide a POD like type for SIMD values.
How is that any different?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk