aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Victor Costan <costan@gmail.com>2017-01-10 20:13:14 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2017-01-10 20:13:14 -0800
commit1e4d6f1c32be198a682518f1afce03c017c0aa11 (patch)
tree859d5a242574c8320ab73e927a8f451c84f356f7
parent2290c3d990da29843dc6928cfd1caa9c50671f0a (diff)
Fix build errors on AVX2+ hosts with -march=native. (#6759)
third_party/eigen3/unsupported/Eigen/CXX/FixedPoint and third_party/eigen3/unsupported/Eigen/CXX/Tensor use different paths to reach into unsupported/Eigen/CXX/src/Tensor. The former's paths cause the build errors documented in GitHub issue #6558. This commit removes the includes from third_party/eigen3/unsupported/Eigen/CXX/FixedPoint pointing into third_party/eigen3/unsupported/Eigen/CXX/FixedPoint, because they do not appear to be necessary.
-rw-r--r--third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint2
1 files changed, 0 insertions, 2 deletions
diff --git a/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint b/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint
index 8e55a1f3e8..b0a73aac79 100644
--- a/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint
+++ b/third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint
@@ -32,14 +32,12 @@
// Use optimized implementations whenever available
#ifdef EIGEN_VECTORIZE_AVX512
-#include "src/Tensor/TensorContractionThreadPool.h"
#include "src/FixedPoint/PacketMathAVX512.h"
#include "src/FixedPoint/TypeCastingAVX512.h"
#elif defined EIGEN_VECTORIZE_AVX2
#define EIGEN_USE_OPTIMIZED_INT8_UINT8_MAT_MAT_PRODUCT
#define EIGEN_USE_OPTIMIZED_INT16_INT16_MAT_MAT_PRODUCT
-#include "src/Tensor/TensorContractionThreadPool.h"
#include "src/FixedPoint/PacketMathAVX2.h"
#include "src/FixedPoint/MatMatProductAVX2.h"
#include "src/FixedPoint/TypeCastingAVX2.h"