diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2017-06-13 12:54:57 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2017-06-13 12:54:57 -0700 |
commit | 449936828c3d7f97b90a0cc3d25a1ec7eaec79ff (patch) | |
tree | e2821e299db3421fd3a73f3b649f575c84208354 /Eigen/src/Core/arch/CUDA | |
parent | aae19c70ac273a2d40daf18a3cd15c0b0075662b (diff) |
Added missing __device__ qualifier
Diffstat (limited to 'Eigen/src/Core/arch/CUDA')
-rw-r--r-- | Eigen/src/Core/arch/CUDA/PacketMathHalf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h index b9a125b42..f4ae3c3c5 100644 --- a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h +++ b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h @@ -54,7 +54,7 @@ template<> __device__ EIGEN_STRONG_INLINE half2 ploadu<half2>(const Eigen::half* return __halves2half2(from[0], from[1]); } -template<> EIGEN_STRONG_INLINE half2 ploaddup<half2>(const Eigen::half* from) { +template<> __device__ EIGEN_STRONG_INLINE half2 ploaddup<half2>(const Eigen::half* from) { return __halves2half2(from[0], from[0]); } |