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. https://github.com/facebookincubator/gloo/commit/0c9766691d77eb54c5a3293bc29621a82424fabb
Thank you for the report. Fixed: https://bitbucket.org/eigen/eigen/commits/9963b8123273/ https://bitbucket.org/eigen/eigen/commits/a201b8438d36/ (3.3)
Thanks for the super-fast turnaround!
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1462.