diff options
author | 2016-05-11 14:10:09 -0700 | |
---|---|---|
committer | 2016-05-11 14:10:09 -0700 | |
commit | 70195a5ff7b9b6460cea2ba3daf4cc71de322b91 (patch) | |
tree | 1a8b086cff756c4ff2f7e21d09f2951c17fa88d8 /Eigen/src/Core/arch/CUDA/Half.h | |
parent | 1a1ce6ff618212f6834e6801046e4c3eaf4a0b1b (diff) | |
parent | 09a19c33a87c7a5ff0fdfedaf7fd2d38079febf4 (diff) |
Added missing EIGEN_DEVICE_FUNC
Diffstat (limited to 'Eigen/src/Core/arch/CUDA/Half.h')
-rw-r--r-- | Eigen/src/Core/arch/CUDA/Half.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/CUDA/Half.h b/Eigen/src/Core/arch/CUDA/Half.h index a63b20318..2cf49c97b 100644 --- a/Eigen/src/Core/arch/CUDA/Half.h +++ b/Eigen/src/Core/arch/CUDA/Half.h @@ -46,8 +46,8 @@ // Make our own __half definition that is similar to CUDA's. struct __half { - __half() {} - explicit __half(unsigned short raw) : x(raw) {} + EIGEN_DEVICE_FUNC __half() {} + explicit EIGEN_DEVICE_FUNC __half(unsigned short raw) : x(raw) {} unsigned short x; }; |