mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
bug #1266: half implementation has been moved to half_impl namespace
This commit is contained in:
parent
c5b893f434
commit
2693fd54bf
@ -131,7 +131,7 @@ double loadConstant(const double* address) {
|
||||
}
|
||||
template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user