Re: [eigen] Eigen on an arm core |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Eigen on an arm core
- From: Daniel Stonier <d.stonier@xxxxxxxxx>
- Date: Sun, 9 Aug 2009 03:07:23 +0900
- 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=lzeBt3SyYTm+B1h4EEOJeEC2+SngozrMbmlotjs1gnM=; b=FjHbEOn6TI6rjNUnApQ0ejnYtK56nLfsqVQJKNJbqoaOhnRZQS303lEVNCBOvpos44 mcDHF+vivv4AJ9mop8KGZkBwCBp6l7INFEXL2vou1iuXtO4QjR9bIP+HhHPbCDe77IN2 A4Q5fFi96pXLiHUVR4KhJ9iHFJlBFLHdc+leA=
- 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=pHqVE7VEBSm1ASlxK8zpmqIFHmtqbGU0ngcwibUC3Wk3hFiU5IRhXGol8yd7c6DiOs 59TuIzyO9sygjjBu06l5seg/iVZx2YfZ5Tpw9R4tuZOqGlreJGDDD8bfFSWUUvAQ32Dz ARcxQZyykABuxdk2e5EZlrt3kvWu2AqJ4NPlQ=
Ok, that seems to have sidestepped the problem completely - thanks and
sorry for the inconvenience!
Just out of curiosity, how much of a boost does vectorisation give you
with the SSE capabilities on intel cores?
2009/8/9 Daniel Stonier <d.stonier@xxxxxxxxx>:
> I just got pulled into a project they have been hammering away at for
> a while. Unfortunately its a bit of chaos. They're not really clued
> into programming on linux and are trying to do something non-trivial.
> Lots of fun!
>
> Seems as though they're doing the msproject style and bundling every
> library and its kitchen sink with the project, so the eigen is a bit
> old.
>
> Toolchain is a generic gcc toolchain for arm developed by samsung.
> Version is 2.0.0.
>
> I'll update now and let you know how it goes.
>
> Cheers,
> Daniel.
>
> 2009/8/9 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>> With Eigen >= 2.0.1 and the GCC compiler, indeed we disable all
>> special alignment code, so we also disable this assertion, that's why
>> you don't have this issue.
>>
>> As long as we don't do vectorization on a certain platform, there's no
>> need to bother at all about alignment. That's why the solution to
>> David's problem is as simple as: either upgrade to Eigen >= 2.0.1 (if
>> he's using GCC) or tell us what compiler you're using and how to port
>> the platform check.
>>
>> FYI the platform check is at Eigen/src/Core/util/Macros.h line 44 (in
>> the 2.0 branch). We need to know how to detect your compiler, and how
>> to detect the CPU architectures listed there, on this compiler.
>>
>> Cheers,
>> Benoit
>>
>> 2009/8/8 Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>:
>>>
>>>
>>> Hello,
>>>
>>> I can't help you there, but I often test my project on ARM (and MIPS, sparc32,
>>> ppc32, x86, amd64) and i don't have this kind of problem. I'm using eigen
>>> trunk or 2.0.3, gcc 4.3.2/4.4.3 . Maybe we don't use the same features of
>>> eigen though.
>>>
>>> "Testing" here means "compile and do some unit tests"
>>>
>>> regards,
>>> Thomas
>>>
>>> In data sabato 08 agosto 2009 19:13:31, Daniel Stonier ha scritto:
>>>> We threw eigen at an arm core recently running a SLAM algorithm and
>>>> ignorantly discovered we were completely unknowing about alignment
>>>> issues!
>>>
>>> --
>>> Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>
>>> http://www.freehackers.org/thomas
>>>
>>>
>>>
>>
>>
>>
>