bug #1462: remove all occurences of the deprecated __CUDACC_VER__ macro by introducing EIGEN_CUDACC_VER

This commit is contained in:
Gael Guennebaud
2017-08-24 11:06:47 +02:00
parent 12249849b5
commit 21633e585b
16 changed files with 32 additions and 23 deletions

View File

@@ -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"