Re: [eigen] Performance degradation with OpenMP

[ Thread Index | Date Index | More Archives ]

do you want to compute AA^T (result is 3x3) or A^TA (result is NxN)?
Because your example computes A^TA but expect a 3x3 matrix for the
result, and it fails with an assert. I changed your example to compute
AA^T (I think this is what you wanted to do), and I got exactly the
same perf. with and without OpenMP (the parallel branch is not taken).


On Fri, Dec 17, 2010 at 1:18 PM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> Hi,
> somewhere in my code I computed A^T*A (A being 3-by-n) and I recognized a
> performance degradation of ~20% when compiling with OpenMP.
> I attached a simple test program that should be showing the issue.
> - Hauke

Mail converted by MHonArc 2.6.19+