Re: [eigen] Help on solving a race condition

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


On Fri, Jun 8, 2012 at 4:57 PM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> yes that would work, but mutex introduces a too large overhead. This
> function is called for every matrix product!

True. It seems to be worse than the thread local storage solution.

> It seems OpenMP's support for atomics is not very good.

Also true, its pretty tricky. In particular since one has to keep in
mind that e.g. MSVC supports "only" OpenMP 2.0.

Regards,
Hauke



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