Fix a circular dependency regarding pshift* functions and GenericPacketMathFunctions.

Another solution would have been to make pshift* fully generic template functions with
partial specialization which is always a mess in c++03.
This commit is contained in:
Gael Guennebaud
2019-09-06 09:26:04 +02:00
parent 55b63d4ea3
commit 17226100c5
3 changed files with 78 additions and 2 deletions

View File

@@ -163,8 +163,7 @@ using std::ptrdiff_t;
// Generic half float support
#include "src/Core/arch/Default/Half.h"
#include "src/Core/arch/Default/TypeCasting.h"
// This file provides generic implementations valid for scalar as well
#include "src/Core/arch/Default/GenericPacketMathFunctions.h"
#include "src/Core/arch/Default/GenericPacketMathFunctionsFwd.h"
#if defined EIGEN_VECTORIZE_AVX512
#include "src/Core/arch/SSE/PacketMath.h"
@@ -228,7 +227,10 @@ using std::ptrdiff_t;
#include "src/Core/arch/SYCL/TypeCasting.h"
#endif
#endif
#include "src/Core/arch/Default/Settings.h"
// This file provides generic implementations valid for scalar as well
#include "src/Core/arch/Default/GenericPacketMathFunctions.h"
#include "src/Core/functors/TernaryFunctors.h"
#include "src/Core/functors/BinaryFunctors.h"