aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
diff options
context:
space:
mode:
authorGravatar Mark D Ryan <mark.d.ryan@intel.com>2018-05-17 17:04:00 +0100
committerGravatar Mark D Ryan <mark.d.ryan@intel.com>2018-05-17 17:04:00 +0100
commit405859f18dac56f324e1d93ca8721d5f7fd22c62 (patch)
tree0fcfabe307e9918e417ebc33d6d3425b47c7651d /unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
parent6293ad3f392a7b97ebb9f9f874682505c1391f2d (diff)
Set EIGEN_IDEAL_MAX_ALIGN_BYTES correctly for AVX512 builds
bug #1548 The macro EIGEN_IDEAL_MAX_ALIGN_BYTES is being incorrectly set to 32 on AVX512 builds. It should be set to 64. In the current code it is only set to 64 if the macro EIGEN_VECTORIZE_AVX512 is defined. This macro does get defined in AVX512 builds in Core, but only after Macros.h, the file that defines EIGEN_IDEAL_MAX_ALIGN_BYTES, has been included. This commit fixes the issue by setting EIGEN_IDEAL_MAX_ALIGN_BYTES to 64 if __AVX512F__ is defined.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h')
0 files changed, 0 insertions, 0 deletions