Subject: Re: [boost] Back to Boost.SIMD - Some performances ...
From: David Abrahams (dave_at_[hidden])
Date: 2009-04-01 17:00:55
on Thu Mar 26 2009, Joel Falcou <joel.falcou-AT-u-psud.fr> wrote:
> Some exemples of divergence :
> eigen2 sum of cube of column i is
> r = m.cols(i).colwise().cube().sum()
> NT2 sum of cube of column i is
> r = sum0( cube( m(_,i) ) );
> Compelx indexing is also supported :
> Matlab : k(1,:, 1:2:10) = cos( m );
> NT2 : k( 1, _, colon(1,2,10) ) = cos(m);
> Mark-up settings :
> want an upper-traingular matrix of flaot of maximum static_size of 50x50
> with dynamic allocation and want to specify that all
> loops involving it need to be blocked by a 3x3 pattern ?
> matrix<float, settings( upper_triangular, 2D_(ofCapacity<50,50>),
> cache(tiling<3,3>) )> m;
> etc ...
> I'm not against teaming-up but not sure which one is better than the
> other. Moreover, I don't think eigen2 use proto as a base
> while NT2 performs lots of pre-optimization using proto-transforms and
> again that's something I don't want to lose.
A small note of encouragement: this sounds really cool, and the numbers
-- 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