bug #1266: half implementation has been moved to half_impl namespace

This commit is contained in:
Benoit Steiner 2016-07-29 13:45:56 -07:00
parent c5b893f434
commit 2693fd54bf

View File

@ -131,7 +131,7 @@ double loadConstant(const double* address) {
} }
template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
Eigen::half loadConstant(const Eigen::half* address) { Eigen::half loadConstant(const Eigen::half* address) {
return Eigen::half(internal::raw_uint16_to_half(__ldg(&address->x))); return Eigen::half(half_impl::raw_uint16_to_half(__ldg(&address->x)));
} }
#endif #endif
} }