diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-01-16 14:43:33 -0800 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-01-16 14:43:33 -0800 |
commit | 7401e2541deffd08c61b0426b2bcd21ffd481ac0 (patch) | |
tree | e76918179720dd4ac0496486eb472f8c64f92c96 /Eigen/src/Core/arch/GPU | |
parent | ee550a2ac3fa2f127cc8ab16ee2773aa390b0142 (diff) |
Fix compilation error for logical packet ops with older compilers.
Diffstat (limited to 'Eigen/src/Core/arch/GPU')
-rw-r--r-- | Eigen/src/Core/arch/GPU/PacketMathHalf.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Eigen/src/Core/arch/GPU/PacketMathHalf.h b/Eigen/src/Core/arch/GPU/PacketMathHalf.h index eab7be14c..020baa353 100644 --- a/Eigen/src/Core/arch/GPU/PacketMathHalf.h +++ b/Eigen/src/Core/arch/GPU/PacketMathHalf.h @@ -143,10 +143,6 @@ template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pabs<half2>(const half2& return result; } -template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half ptrue<half>(const half& a) { - return __half_raw(0xffffu); -} - template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 ptrue<half2>(const half2& a) { half2 result; *(reinterpret_cast<unsigned*>(&(result))) = 0xffffffffu; |