[eigen] glibc's malloc (x86-64) 16 byte aligned? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] glibc's malloc (x86-64) 16 byte aligned?
- From: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Mon, 25 Jan 2010 23:23:43 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=U9YnXoAD4tBv4dS/D8LLJD6+sfHDlhmo7CbRMJEuBCk=; b=ZcNXcgppYBxKZiTSkj7DB96FMkBa41x6yqnc2P0rpOSjfMOMDb/syb6P0oEoYDcrkL O197HiugsagB8BZfYBmG3cGEw4DLfh/UPAmKmVIRlcB5TMudhLWiEIC0gdlUu+PIyoRD xnpRRsIl8QuQfGsK5tMk64pb2kmPfSHfZ9lh0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=jMlzm/TQnKFB4Iqj87GYzWGe0FWnnPCpYMrJG5+rNRpl/l+j2B8ORB2mN7sAO4LjDN 3sEnC+78/4h0Iq7y20I8lZCGQkO8vPS6tmn2sedvRk4j8TGAExoiQQ4pKNmyaZ3vxD8F 2llPBrXTJk/dOfBKSY/HW8KECTPcv5twXyoN0=
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