Install NVIDIA CUDA on Ubuntu 17.04

How does one gets the cuda samples using this approach? I want to compile and run deviceQuery and bandwidthTest…

By the way, you could still use gcc 6.3 instead of clang 3.8 with nvcc — just add export EXTRA_NVCCFLAGS=”-Xcompiler -std=c++98" to your bashrc and remove the error in the cuda .h file which detects the gcc version.