Re: [eigen] Alignment issues

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


>
> In your test program, requesting an alignment of 128 bytes is asking for troubles. The standard only guarantees support for alignment up
> to alignof(std::max_align_t), which on OS X 64bits is 16. However, an unsupported alignment requirement should trigger a compile-time
> error, so this actually sounds like a bug in clang. Since you’re using version 3.3 and alignment support was introduced right in that version,
> it could be. But are you using truly clang 3.3 or are you using the 3.3svn shipped with Xcode 5?


I tried with:

* clang version 3.3 (tags/RELEASE_33/final) [from macport]
* Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) [from xcode]
* g++-mp-4.8 (MacPorts gcc48 4.8.2_0) 4.8.2

and got same behaviors.

Note that we do not only need 16bytes alignement but also 32 bytes for AVX.


gael


>
>
> Nicola
>
>
>



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