aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cuda_basic.cu
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-08-24 11:06:47 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-08-24 11:06:47 +0200
commit21633e585b61564159d9cfbfbbad9006b8a09d64 (patch)
treeb981e8fce85da82cb8be57192ea9708d36815cc8 /test/cuda_basic.cu
parent12249849b5ef7ec0c64f74440690fb00708b8da6 (diff)
bug #1462: remove all occurences of the deprecated __CUDACC_VER__ macro by introducing EIGEN_CUDACC_VER
Diffstat (limited to 'test/cuda_basic.cu')
-rw-r--r--test/cuda_basic.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cuda_basic.cu b/test/cuda_basic.cu
index cb2e4167a..0ff13477d 100644
--- a/test/cuda_basic.cu
+++ b/test/cuda_basic.cu
@@ -20,7 +20,7 @@
#include <math_constants.h>
#include <cuda.h>
-#if defined __CUDACC_VER__ && __CUDACC_VER__ >= 70500
+#if EIGEN_CUDACC_VER >= 70500
#include <cuda_fp16.h>
#endif
#include "main.h"