Re: [eigen] calculating on ranges |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] calculating on ranges
- From: Jos van den Oever <jvdoever@xxxxxxxxx>
- Date: Tue, 27 Jan 2009 17:05:28 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=oaXuxHUeURyV5+EfaCFZoUibt+jt1uLGOcOeqI/sPdk=; b=l8T/2xbGdnqb5ZnbJihBgsikqJJoo72+UJlVBwbno+JvPY9sgQCdc7xk3pLZkOFNJ0 3T/oDO2kUd5FE6lmnz48JcY5fHvQdVRiJcOgiUM67xeldHOjdQ+NPOXeGHC+rlKubzUW asnYbgHJaMsn7Dgpn+fMfCyuTTW3w3QByNdAQ=
- 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:content-transfer-encoding; b=mJVY6ndV0ELbnHe+tph/k8tqXuUn28xpbvHww8YF7rhXYqUCFRw1cttyllbUUpYG4m XP561Foa8/rC8PVfL3uQyEAtEeo5dXEDcMpSLFHt1vfrf29UQQ0zwjgEsqYTNx4VXNzQ qy9To0i1mvEcUsR53GkYpDQVuhdCEK8gcpOQQ=
2009/1/27 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> Google found code here:
> http://gruntthepeon.free.fr/ssemath/
> http://gruntthepeon.free.fr/ssemath/sse_mathfun.h
>
> We could strip a lot of stuff from this file and keep only the SSE2 path.
>
> That would be stuff for Eigen 2.1.
I was just about to post that link. A 5-6 fold speedup is no joke!
I meant to ask how to go about implementing the cwise().exp().
Can I do this via inheritance? Are there any things to mind when
implementing this function so that it will be vectorized properly?
Cheers,
Jos