Add a nvcc check if CUDA is enabled