Re: [eigen] Matrix product crashes when compiled with MSVC 2010 in release |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Matrix product crashes when compiled with MSVC 2010 in release
- From: Ilya Baran <baran37@xxxxxxxxx>
- Date: Fri, 13 Aug 2010 10:16:28 -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=nJtzr94ynetN2S+IQGMFlnOBKkVP3VSPdNP+b5Ww1Uo=; b=vGU+7DfHJzb7UB2QkH76rbwOpJ/Px2WBF1WGDfyRozVooSifm1OheV/baNMU+VYrg8 MyWTUK9/lsViT8FyECqfbGNfxYiD4DfcivJRiARiRPVywqqTFzR47w8q/I1Wje1mpKm3 c4qs7ESFA91jot/iZFYSiw0YgwAXxV4SJlICk=
- 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=F2JPAISb43iRXduOsywDsxwD7MCWyrfeTyK0+sSzXLQnN2Vjoq59kyD/wUScxAv5T3 b0VjL0pwaH8u6kzfJNt/1XYHtfvLX+qchVWjPbOiScEXkuOAAKEqeVAWju/BA94YMZCu k9K8f4HXT3gbuMZbwY0EBn7wcVgio4cCmfEcA=
Hello,
The reason I ran into this is that CMake creates projects without
whole program optimization by default. I can, of course, live with
enabling whole program optimization--the problem is that the entire
code has to be reoptimized when a single cpp file changes (this is
slow even for a moderate-sized project). I think it makes sense to
spend a little effort on working around this (the asm idea seems
promising) because other people will hit it, but I agree that it's not
a good idea to introduce a runtime performance regression for this.
Thanks,
-Ilya
>> Just a short question to you Ilya - do you rely on disabling the whole
>> program optimization? Per default it is enabled if you create a new
>> solution. That's why we never hit that issue so far. I am saying for
>> all our unit tests, the compiler settings are mostly on default for
>> MSVC builds. Testing against all combinations of compiler settings is
>> not really possible. ;)
>
> Spot on!
> Even if the people at everyone's favorite corporation are not very
> responsive to bug reports, I would still say it's about the only thing
> to do about it, unless Hauke finds an applicable work-around!