From aec48143701446e22667549e34509875e42513f9 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 29 Jul 2015 11:11:23 +0200 Subject: Many files were missing in previous changeset. --- unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h index 2ef5ff205..c9fa39e51 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h @@ -213,7 +213,7 @@ struct TensorEvaluator, Device> // m_stride is equal to 1, so let's avoid the integer division. eigen_assert(m_stride == 1); Index inputIndex = index * m_inputStride + m_inputOffset; - EIGEN_ALIGN_DEFAULT typename internal::remove_const::type values[packetSize]; + EIGEN_ALIGN_MAX typename internal::remove_const::type values[packetSize]; for (int i = 0; i < packetSize; ++i) { values[i] = m_impl.coeff(inputIndex); inputIndex += m_inputStride; @@ -233,7 +233,7 @@ struct TensorEvaluator, Device> return m_impl.template packet(inputIndex); } else { // Cross the stride boundary. Fallback to slow path. - EIGEN_ALIGN_DEFAULT typename internal::remove_const::type values[packetSize]; + EIGEN_ALIGN_MAX typename internal::remove_const::type values[packetSize]; for (int i = 0; i < packetSize; ++i) { values[i] = coeff(index); ++index; @@ -328,7 +328,7 @@ struct TensorEvaluator, Device> (static_cast(this->Layout) == static_cast(RowMajor) && this->m_dim.actualDim() == NumInputDims-1)) { // m_stride is equal to 1, so let's avoid the integer division. eigen_assert(this->m_stride == 1); - EIGEN_ALIGN_DEFAULT typename internal::remove_const::type values[packetSize]; + EIGEN_ALIGN_MAX typename internal::remove_const::type values[packetSize]; internal::pstore(values, x); Index inputIndex = index * this->m_inputStride + this->m_inputOffset; for (int i = 0; i < packetSize; ++i) { @@ -348,7 +348,7 @@ struct TensorEvaluator, Device> this->m_impl.template writePacket(inputIndex, x); } else { // Cross stride boundary. Fallback to slow path. - EIGEN_ALIGN_DEFAULT typename internal::remove_const::type values[packetSize]; + EIGEN_ALIGN_MAX typename internal::remove_const::type values[packetSize]; internal::pstore(values, x); for (int i = 0; i < packetSize; ++i) { this->coeffRef(index) = values[i]; -- cgit v1.2.3