(I still used CUDA 8, but 9 should also work. You just need to find the version of the command line tools it works with)