diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2017-06-13 12:56:55 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2017-06-13 12:56:55 -0700 |
commit | 3baef62b9acb4f023d6b395fa528c238b2e67efe (patch) | |
tree | a994b3569ba65f54fd08bd45597af130410e6c64 /Eigen/src/Core/arch/CUDA | |
parent | b8e805497e446e7159f231238b4a8fd22fe70749 (diff) | |
parent | 449936828c3d7f97b90a0cc3d25a1ec7eaec79ff (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]); } |