__CUDACC_VER__ is deprecated in CUDA 9
Submitted by Pieter Noordhuis
Assigned to Nobody
Link to original bugzilla bug (#1462)
Platform: GPU (CUDA)
In the recently released CUDA 9 RC, the CUDACC_VER macro is deprecated. It is set to an error string, so it will cause compilation errors. The recommended macro's to use are CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_PATCH.
I worked around this problem by #undef'ing the error string macro and resetting it to behave as it previously did. Ideally this is addressed in Eigen itself though.
I verified this is a problem in 3.3, but see the macro is still used in trunk.