diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-08-24 11:06:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-08-24 11:06:47 +0200 |
commit | 21633e585b61564159d9cfbfbbad9006b8a09d64 (patch) | |
tree | b981e8fce85da82cb8be57192ea9708d36815cc8 /unsupported/test/cxx11_tensor_device.cu | |
parent | 12249849b5ef7ec0c64f74440690fb00708b8da6 (diff) |
bug #1462: remove all occurences of the deprecated __CUDACC_VER__ macro by introducing EIGEN_CUDACC_VER
Diffstat (limited to 'unsupported/test/cxx11_tensor_device.cu')
-rw-r--r-- | unsupported/test/cxx11_tensor_device.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_device.cu b/unsupported/test/cxx11_tensor_device.cu index fde20ddf2..ae21f492a 100644 --- a/unsupported/test/cxx11_tensor_device.cu +++ b/unsupported/test/cxx11_tensor_device.cu @@ -13,7 +13,7 @@ #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int #define EIGEN_USE_GPU -#if defined __CUDACC_VER__ && __CUDACC_VER__ >= 70500 +#if EIGEN_CUDACC_VER >= 70500 #include <cuda_fp16.h> #endif #include "main.h" |