When I try to render with the Cycles render on my GPU I'll get a message which says that my CUDA compilation failed and I get this error in the console;
Compiling CUDA kernel ...
"nvcc" -arch=sm_61 --cubin "/usr/share/blender/scripts/addons/cycles/kernel/kernels/cuda/kernel.cu" -o "/home/nils/.config/blender/2.78/cache/cycles_kernel_sm61_E317D1655098C1EB89BEC29AC2C7B15D.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -D__KERNEL_CUDA_VERSION__=80 -I"/usr/share/blender/scripts/addons/cycles/kernel"
ERROR: No supported gcc/g++ host compiler found, but clang-3.8 is available.
Use 'nvcc -ccbin clang-3.8' to use that instead.
CUDA kernel compilation failed, see console for details.
Graphics card: Nvida Geforce GTX 1050ti (gigabyte= Processor: Intel core i5 6400 (4x2.7GHz) 16gb ddr3l 1600
I have already installed gcc, g++, clang, and all Nvida drivers.