Re: [eigen] Parallelizable operations |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Parallelizable operations
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 28 Jul 2010 10:36:35 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=z/vFoP+0MuQptXutySSSBHM/IRoEPs76wJ+g4rDHplk=; b=DQ1EdjdCivZfOYpAohRf+pWlP+XZxsF2j3qvlZE1QwEJtEyogMqVR4iMFLYX4widkJ Kc7Jo8aegGfNDm/sSYEMydnX1TrXvGDQWmdiV1/cpEClSIGFC2WO8f1PqIdwzr+adoUa tZH8RJYYXT/DtY78mUurPwtzbxsilmwkW6RJw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bNh0zas2gGJYUF40+jBJQ5W+N6doxQTzQEw6YzeEXxrhm7cVPB31hwD10tXX3Itir3 5DRsF/5lVAMYErrXUAvn8X/tcswKcHfZxUFoEZt1c7CPMoeCnIf6AHpQr7dEOdHFiIVd 6n72/X0w6T5z2jGlAT6zcMGmrgDikMDxx4jE0=
2010/7/28 Carlos Becker <carlosbecker@xxxxxxxxx>:
> Hi everyone, I was just wondering: which are the parallelizable operations
> with Eigen? I mean, if I enable openMP and EIGEN_DONT_PARALLELIZE is not
> defined, which operations would get parallelized? According to what I see in
> the source code it is mostly dedicated to products.
Yes, that is all what's currently parallelized. However, do note that
products are where blocking (aka "level 3 implemented") decompositions
spend most of their time, so this benefits already a large part of the
decompositions. In the future, we'll parallelize more and more stuff,
i.e. my new divide-and-conquer SVD is going to be fully
parallelizable.
> I am asking this because
> I am now choosing between parallelizing some code myself or letting Eigen do
> it. I guess that using EIGEN_DONT_PARALLELIZE would allow me to parallelize
> larger blocks and, knowin what I am doing, I suppose I can get better
> performance, specially when the operations are not purely products.
I can't give a general answer to that question, it depends too much on
your specifics!
Benoit
> Thanks!
> Carlos