| Re: [eigen] [Eigen] SSE may cause linker error on VS.net | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/eigen Archives
] 
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] [Eigen] SSE may cause linker error on VS.net
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Wed, 22 Apr 2009 16:50:36 +0200
- 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=b+4zz2+k91apY3QNrEtQgIXiwpqjawMeiHp4Yykzs4I=;         b=kkbCSCAhf/1DI8RSNkfPMkk2f3i3h6A7likCiL3/RaPB3j/eYsB15Je6j3Br96fvgb qO0tq+gNKDxFjoN25viT42XYT1hIdcYtNDkGr11/nrLI/LMoDczlBiVCSC5Bjz7GDekO       dG/TpHkkOlc2OJGnuENIyfFNrR+/MnbIUoEtM=
- 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=yFJwYqlyCKFMoRZUY5NakyMtabE9CZVM0kbaCbph48Pc7XaoSOnSzp4xh3wMFgA5iU Pt6WaoSZ88KhDm4IpPAMDhMgck6IvFySFJCG1ZOvteOeS2EYsQZglm73neDan3ZGLScF       DuM2n4Ef6aPa/vLGnm/IxLRNLkAMfg7l2K3GA=
On Wed, Apr 22, 2009 at 4:40 PM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
>>> this does not work:
>>>
>>> /home/gael/Coding/eigen2/Eigen/src/Core/arch/SSE/MathFunctions.h:55:
>>> error: explicit template specialization cannot have a storage class
>
> Gael, can you please try the following patch. I removed the template
> stuff completely. Now we just have an overloaded function - it should
> always be preferred to the template function.
yes that works.
However now I'm wondering whether these 4 ei_p* functions are really
needed. I mean, cannot we simply overload the ei_cos, ei_sin, etc. to
work coeff-wise on packet types ? (this is mainly a question for
Benoit)
Gael
> Regards,
> Hauke
>