diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-08-27 11:30:31 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-08-27 11:30:31 -0700 |
commit | b021cdea6dd84b0f51dd7aea691d47dd3eab8e9d (patch) | |
tree | fe710bcd0723cd3885e9d832cb78f6b25bda1df9 /Eigen/Core | |
parent | 84fefdf32155f9bbba403b44c961c437eaeac993 (diff) |
Clean up float16 a.k.a. Eigen::half support in Eigen. Move the definition of half to Core/arch/Default and move arch-specific packet ops to their respective sub-directories.
Diffstat (limited to 'Eigen/Core')
-rw-r--r-- | Eigen/Core | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Eigen/Core b/Eigen/Core index af741a241..e6e31caee 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -160,6 +160,9 @@ using std::ptrdiff_t; #include "src/Core/GenericPacketMath.h" #include "src/Core/MathFunctionsImpl.h" #include "src/Core/arch/Default/ConjHelper.h" +// Generic half float support +#include "src/Core/arch/Default/Half.h" +#include "src/Core/arch/Default/TypeCasting.h" #if defined EIGEN_VECTORIZE_AVX512 #include "src/Core/arch/SSE/PacketMath.h" @@ -207,14 +210,10 @@ using std::ptrdiff_t; #include "src/Core/arch/MSA/Complex.h" #endif -// Half float support -#include "src/Core/arch/GPU/Half.h" -#include "src/Core/arch/GPU/PacketMathHalf.h" -#include "src/Core/arch/GPU/TypeCasting.h" - #if defined EIGEN_VECTORIZE_GPU #include "src/Core/arch/GPU/PacketMath.h" #include "src/Core/arch/GPU/MathFunctions.h" + #include "src/Core/arch/GPU/TypeCasting.h" #endif #if defined(EIGEN_USE_SYCL) |