On an installation, when I run nvidia-smi
, it shows the CUDA version as being 12.0.
After installing the CUDA Toolkit, nvcc --version
reports the version is 12.2.
Is this a problem?
Based on this very comprehensive answer, I understood that NVIDIA SMI can report a higher version number than NVCC.
In this case, it is the opposite.
Yes, it can be a problem. If you use that version of
nvcc
with that installed driver version, things probably won’t work, and there are many questions here on SO that discuss the outcome “CUDA driver version is insufficient for CUDA runtime version”