aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-07-29 13:45:56 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-07-29 13:45:56 -0700
commit2693fd54bf9644c94d0c88722659c0e0b2757252 (patch)
treecaddddf1c0c056cf36f62219fe0cc8bf06b9c869 /unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h
parentc5b893f434be42ac2ad60c0144054539bf2c4967 (diff)
bug #1266: half implementation has been moved to half_impl namespace
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h
index a48cb1daa..c2a327bf0 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h
@@ -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
}