From c5b893f434be42ac2ad60c0144054539bf2c4967 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Fri, 29 Jul 2016 18:36:08 +0200 Subject: bug #1266: half implementation has been moved to half_impl namespace --- Eigen/src/Core/arch/CUDA/Half.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen') 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(ptr))); } #endif -- cgit v1.2.3