Note that if you want to use Boost under CUDA 9 it is necessary to put:
#define CUDACC_VER 90000
before you include any boost header. This is because boost has a header nvcc.hpp which checks for the existence of CUDACC_VER and CUDA 9 no longer defines this.
Presume someone will update boost after CUDA 9 goes out officially.