From 1e4d6f1c32be198a682518f1afce03c017c0aa11 Mon Sep 17 00:00:00 2001 From: Victor Costan Date: Tue, 10 Jan 2017 20:13:14 -0800 Subject: 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. --- third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint | 2 -- 1 file changed, 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" -- cgit v1.2.3