--- /usr/include/boost/config/compiler/nvcc.hpp 2018-01-03 17:24:17.650074707 -0500 +++ /usr/include/boost/config/compiler/nvcc.hpp 2018-01-03 17:24:56.448911680 -0500 @@ -19,11 +19,11 @@ // https://svn.boost.org/trac/boost/ticket/11897 // This is fixed in 7.5. As the following version macro was introduced in 7.5 an existance // check is enough to detect versions < 7.5 -#if !defined(__CUDACC_VER__) || (__CUDACC_VER__ < 70500) +#if !defined(__CUDACC_VER_MAJOR__) || (__CUDACC_VER_MAJOR__ < 7) || ((__CUDACC_VER_MAJOR__ == 7) && (__CUDACC_VER_MINOR__ < 5)) # define BOOST_NO_CXX11_VARIADIC_TEMPLATES #endif // The same bug is back again in 8.0: -#if (__CUDACC_VER__ > 80000) && (__CUDACC_VER__ < 80100) +#if (__CUDACC_VER_MAJOR__ == 8) && (__CUDACC_VER_MINOR__ < 1) # define BOOST_NO_CXX11_VARIADIC_TEMPLATES #endif // Most recent CUDA (8.0) has no constexpr support in msvc mode: