diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-01-29 11:43:05 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-01-29 11:43:05 -0800 |
commit | 64a85800bd3573a7da7a396fde9707dce87a58d9 (patch) | |
tree | 6f82e2c24497038548e594f00b8b29f9affe66b9 /Eigen/src/Core/DenseStorage.h | |
parent | a7621809fe0fc7c65446ab9a83739ebe313004d4 (diff) |
Added support for AVX to Eigen.
Diffstat (limited to 'Eigen/src/Core/DenseStorage.h')
-rw-r--r-- | Eigen/src/Core/DenseStorage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/DenseStorage.h b/Eigen/src/Core/DenseStorage.h index b9dd75ade..2342b08a1 100644 --- a/Eigen/src/Core/DenseStorage.h +++ b/Eigen/src/Core/DenseStorage.h @@ -83,7 +83,7 @@ struct plain_array template <typename T, int Size, int MatrixOrArrayOptions> struct plain_array<T, Size, MatrixOrArrayOptions, 16> { - EIGEN_USER_ALIGN16 T array[Size]; + EIGEN_USER_ALIGN32 T array[Size]; EIGEN_DEVICE_FUNC plain_array() @@ -102,7 +102,7 @@ struct plain_array<T, Size, MatrixOrArrayOptions, 16> template <typename T, int MatrixOrArrayOptions, int Alignment> struct plain_array<T, 0, MatrixOrArrayOptions, Alignment> { - EIGEN_USER_ALIGN16 T array[1]; + EIGEN_USER_ALIGN32 T array[1]; EIGEN_DEVICE_FUNC plain_array() {} EIGEN_DEVICE_FUNC plain_array(constructor_without_unaligned_array_assert) {} }; |