Re: [eigen] Use of streaming loads in eigen |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Use of streaming loads in eigen
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 27 Mar 2009 16:08:23 +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=0KNYOB2B1RlKYaZWB4UmevIuvT84Tih1DG5pkefrOS0=; b=GTA2IqN2yJpZkEAn43QTOte1yPZy/YN2JGM41BUKeZcbstd9tEVJk92rHKON+Z+EEa Y9jHTjmml+CsjqprUxJvikuKZs17S4f8PH5LLxX2TZWh3wYAyvfpGwZL4c+M0N6L6Aa0 kz08ZN5rF2CLL9igpRfw48gSIqO1p/HsxBojI=
- 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=mtiX9IAWfq4Ki3ccPCJSwaqm7unwDOod+yYSa5WkEHJJBNuC5qh67e9igK6nyNZJpL RgDDCEUV12nVk4DDKJHqZSLDj4McH2gsEAADgQYgxVuHOW1hWKpV+HIzmBIlTO1d7lqP NCP+5EJl3vFRweVemobqiFaB0I1iJ9acWH5qM=
On Fri, Mar 27, 2009 at 2:57 PM, Rohit Garg <rpg.314@xxxxxxxxx> wrote:
> In the PacketMath.h file, the only eigen function to send the sse
> registers back to memory is the _mm_store_ intrinsic. Has anybody
> looked at using the _mm_stream intrinsics instead. They should help
> atleast in BLAS 1 and BLAS 2 codes where the code is fundamentally
> bandwidth bound. For a pseudo benchmark. look here
>
> http://humus.name/index.php?page=Comments&ID=244
>
> Even for BLAS 3 it should only help. However, for small sized stuff,
> it will definitely not be helpful as one will want to have the item in
> the cache as long as possible as it doesn't pollute the cache because
> of it's small size.
that's exactly why we cannot use it in Eigen: we cannot know if the
data are going to reused soon or not, and even in the best case
scenario the improvement would be pretty low...
> --
> Rohit Garg
>
> http://rpg-314.blogspot.com/
>
> Senior Undergraduate
> Department of Physics
> Indian Institute of Technology
> Bombay
>
>
>