Made half floats usable on hardware that doesn't support them natively.

This commit is contained in:
Benoit Steiner
2016-03-11 17:21:42 -08:00
parent b72ffcb05e
commit 048c4d6efd
4 changed files with 343 additions and 58 deletions

View File

@@ -331,6 +331,8 @@ using std::ptrdiff_t;
#include "src/Core/arch/NEON/Complex.h"
#endif
#include "src/Core/arch/CUDA/Half.h"
#if defined EIGEN_VECTORIZE_CUDA
#include "src/Core/arch/CUDA/PacketMath.h"
#include "src/Core/arch/CUDA/PacketMathHalf.h"