diff options
author | 2016-07-29 18:36:08 +0200 | |
---|---|---|
committer | 2016-07-29 18:36:08 +0200 | |
commit | c5b893f434be42ac2ad60c0144054539bf2c4967 (patch) | |
tree | 9d9bdc488491c4554739029ad2999f2f4eb2c6c6 /Eigen | |
parent | 4057f9b1fce05fef4730fa6b4bfe1b84a1f44973 (diff) |
bug #1266: half implementation has been moved to half_impl namespace
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/arch/CUDA/Half.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/CUDA/Half.h b/Eigen/src/Core/arch/CUDA/Half.h index 43a22907b..9df7c2f69 100644 --- a/Eigen/src/Core/arch/CUDA/Half.h +++ b/Eigen/src/Core/arch/CUDA/Half.h @@ -523,7 +523,7 @@ __device__ EIGEN_STRONG_INLINE Eigen::half __shfl_xor(Eigen::half var, int laneM // ldg() has an overload for __half, but we also need one for Eigen::half. #if defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 350 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half __ldg(const Eigen::half* ptr) { - return Eigen::internal::raw_uint16_to_half( + return Eigen::half_impl::raw_uint16_to_half( __ldg(reinterpret_cast<const unsigned short*>(ptr))); } #endif |