
18 Jan
2009
18 Jan
'09
3:28 p.m.
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. How great.
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?