aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-04-14 11:40:48 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-04-14 11:40:48 -0700
commit5379d2b5944f2c26ff0ddce65fc6f99f5182f7b7 (patch)
tree35905d82db89a9e92273bfb1a1f0f74ff75e8bed /Eigen/src
parent5912ad877c6fe0072c56e8d2f70b315a1f4da6ce (diff)
Inline the << operator on half floats
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Core/arch/CUDA/Half.h2
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 8249ce2eb..bdf97dcd6 100644
--- a/Eigen/src/Core/arch/CUDA/Half.h
+++ b/Eigen/src/Core/arch/CUDA/Half.h
@@ -510,7 +510,7 @@ static EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC int (isfinite)(const Eigen::half& a
namespace std {
-ostream& operator << (ostream& os, const Eigen::half& v) {
+EIGEN_STRONG_INLINE ostream& operator << (ostream& os, const Eigen::half& v) {
os << static_cast<float>(v);
return os;
}