Re: [eigen] Eigen on an arm core

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


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
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/