Re: [eigen] glibc's malloc (x86-64) 16 byte aligned?

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


I don't understand?
on linux x86-64, malloc only returns 8-byte aligned pointers, and this
page confirms it.
Benoit

2010/1/25 Rohit Garg <rpg.314@xxxxxxxxx>:
> Hi all,
>
> http://www.gnu.org/s/libc/manual/html_node/Aligned-Memory-Blocks.html
>
> I was quite surprised to come across this. I never knew this was the
> case. I wrote a quick, dirty, non-comprehensive, non-exhaustive test
> and all of the malloc'ed pointers were 16 byte aligned.
>
> May be it's worth trying to run the eigen's test suite on linux x86-64
> assuming that the malloc is 16 byte aligned?
>
> Your thoughts?
>
> --
> Rohit Garg
>
> http://rpg-314.blogspot.com/
>
> Senior Undergraduate
> Department of Physics
> Indian Institute of Technology
> Bombay
>
>
>



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