Re: [eigen] [Fwd: eigen cwise] unexpected performance regression with eigen's cwise()

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi

On Wednesday 19 August 2009 20:01:26 Rohit Garg wrote:
> A freind of mine who is using eigen for his code, hit this unexpected
> speed bump. I have no idea why.

Undefined behavior, as the program tries to access blah[SIZE] and 
blah[SIZE+1]. Assuming that your friend wrote j instead of i, does he have all 
optimizations (and SSE) enabled?

Otherwise, the unstable branch works fine for me:

your friend's "cwiseop":
 14.66s, 14.91s, 14.65s

Eigen:
 7.67s, 7.67s, 7.74s

(Core2 Quad 2.4 GHz, gcc 4.4.0, fedora 11, eigen unstable)

Markus
-- 
PGP key on www.esat.kuleuven.be/~mmoll/public_key.pgp
Fingerprint is 
90C4 B47D 1A00 5AC1 9147  3197 EDA7 1E0E 99E4 9EDB



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/