Re: [eigen] EIGEN_ALIGN_TO_BOUNDARY(32)? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] EIGEN_ALIGN_TO_BOUNDARY(32)?
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 23 Oct 2010 10:07:00 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=VQe2NeFBaImqYVyUNjIMxEF6HUvldTOKdqWIDWkHoeI=; b=FC3uAcyg4g99MApb1jchcWJv7CLvhAJOAp28nEOivlJ3NfPKDu+Nz9Ns00xMTtNjIx FrZ6PXTRC91jxp8YL2veWJyH18/0rFPzG4v9LEt61Ppx7+cU3Zlw+u+Q9sBLog2L10HG EI7s5sN/3vgoPn1/2eoVI2WCnsTYOiKg+kzOc=
- 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; b=K62piNUlbzk/U708n5czxNLnvbRLy00MnSmNqQhp+cbbM/4YCqN8HCCx3iFchmM3RN G6j7WvRy9TmoVyTBkF7F0wooZEn4puS6BSwR4OPV62G6OhcYNnHUrXylaldfy9w4E4oN upVZjU2BkXNBa3YIuqm0FJ1kp3hcSaA5y45Lc=
It isn't currently possible, although it's been discussed a few times
and it will be a prerequisite for AVX vectorization.
If all you want is making dynamic-size matrices and arrays use a
higher alignment, that's really easy, just edit src/Core/util/Memory.h
and modify the aligned malloc functions.
Benoit
2010/10/22 Rhys Ulerich <rhys.ulerich@xxxxxxxxx>:
> Is it possible to pervasively/uniformly ask Eigen to align per
> EIGEN_ALIGN_TO_BOUNDARY(32) using only #define magic?
>
> - Rhys
>
>
>