Re: [eigen] FLENS C++ expression template Library has excellent documentation

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hallo Helmut,

Helmut Jarausch schrieb:
> On 18 Apr, Christian Mayer wrote:
>> (disclaimer: I haven't done much parallelization in the past, but I
>> listened with much interest a few lectures and different discussions on
>> the net)
>>
>> Do NOT use OpenMP in our case!
>>
>> OpenMP is great to parallelize a few loops in old code where you can't
>> spend the time to do it right. If you've got the choice you should
>> allways rethink every algorithm and implement it in a parallel way (with
>> the threading lib of your choice)
>>
> 
> Have you had a look at OpenMP 3 (offered by gcc-4.4, e.g.).

No, I didn't. Development might have gone on and also my experience with
multithreading might not be big enough to make the best decision (see
the disclaimer :)

> It has the "task" directive which offers some freedom especially
> for C++ like programm. OpenMP has the advantage of being an accepted
> standard. 

Perhaps it might be the solution (I still didn't have a look at it...).
But you should allways consider, that a generic task handling and
scheduler might not be able to give you the power (speed wise and
complexity wise) that an optimal coded sheduler might offer.

In the end it boils down to the so typical:
 coding speed
vs. compiling speed
vs. runtime speed
vs. code complexity
vs. cross platform capabilities.

There eigen has gone it's very special path that I think is great for
this "small" libaray. Choosing the right multithreading environment
should consider to follow and extend the current path and not be
distraced by the ease of implementation.

Anyway, it's an open source project, so the person implementing the
stuff is the person to decide :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREIAAYFAknsjeIACgkQoWM1JLkHou3m7QCeMAfX+5su6Hn8TTMfpz6zfycw
SbIAoJXBc7qFPxRRtm3Fy1R/9QMO5uep
=UERs
-----END PGP SIGNATURE-----



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