Re: [eigen] Re: Infinite loop in gebp |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] Re: Infinite loop in gebp
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Tue, 26 Feb 2013 23:58:10 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=qtGE8SElHUaxovqL4HgyKUMQwPlTBQzZ52z4gzSfbZo=; b=iE03vHl3/nnljW9+zowQNetcXYIH2xjrVrAIrpaodnbkYhVuA2j7Z7tFdTQIvw61cA yJ6NDDb3rrUZbunsJdQ6zrRd9F/k/b7Eh5rNkBWd4eUWZHqev+PyiyQADd/jxcGqfFFq eNP320ROuhpmZmqiqZ+/Ui/w+3lf8aU6+HsZodk4Q63fEvkkRsb7D+Wb8ZAxnNI70pGD edkTwE/t605UCMyN7j3HkBjE870XbhknoDiCWU3qSFytOTUCPFN9fYER2YOxCBKZzWG4 bKdBCDhLI4JA2HSBDsyxsvOzaz9QdBd4RJt2Loso4RZfzTZbN/15Bd9IRyO4O7aiMr/j YEkQ==
Hi Sameer,
indeed, I've already observed wrong code generation with this apple
compiler, and I know that other heavily templated libraries observed
similar problems. In my case it concerned our iterative solvers.So
I'd not spend too much time on it but just to be sure it might still
be interesting to check with other gcc versions and valgrind.
gael
On Tue, Feb 26, 2013 at 6:24 PM, Sameer Agarwal
<sameeragarwal@xxxxxxxxxx> wrote:
> Sorry, I reported the wrong version of gcc. Here is the version string. It
> is 4.2.1 instead of 4.1.2
>
> 686-apple-darwin11-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>
> Sameer
>
>
>
> On Tue, Feb 26, 2013 at 9:19 AM, Sameer Agarwal <sameeragarwal@xxxxxxxxxx>
> wrote:
>>
>> Hi Guys,
>>
>> I am using eigen 3.1.2 on a mac and I am observing an infinite loop in
>>
>> Eigen::internal::gebp_kernel<double, double, long, 4, 4, false,
>> false>::operator()
>>
>> This is with g++4.1.2 -O3 -DNDEBUG -fast -msse3
>>
>> the same code works just fine with clang 4.0.0
>>
>> I can provide instructions for reproducing this (its corrector_test.cc of
>> the Ceres Solver code base).
>>
>> But before I do that, is there anything know about this compiler/Eigen/OS
>> combination?
>>
>> Thank you,
>> Sameer
>>
>