

This has no connection to the installed CUDA runtime version. Recently (somewhere between 410.48 and 410.73 driver version on linux) the powers-that-be at NVIDIA decided to add reporting of the CUDA Driver API version installed by the driver, in the output from nvidia-smi. The nvidia-smi tool gets installed by the GPU driver installer, and generally has the GPU driver in view, not anything installed by the CUDA toolkit installer. In any event, the (installed) driver API version may not always match the (installed) runtime API version, especially if you install a GPU driver independently from installing CUDA (i.e. libcudart.so on linux, and also nvcc) is installed by the CUDA toolkit installer (which may also have a GPU driver installer bundled in it). The necessary support for the runtime API (e.g. libcuda.so on linux) is installed by the GPU driver installer. The necessary support for the driver API (e.g. I saw this answer but it does not provide direct answer to the confusion, it just asks us to reinstall the cudatoolkit, which I already did.ĬUDA has 2 primary APIs, the runtime and the driver API. So am I using cuda9.2 as which nvcc suggests, or am I using cuda10 as nvidia-smi suggests? | 0 23605 G /usr/lib/firefox/firefox 1MiB | | 0 19992 G /usr/lib/firefox/firefox 1MiB | | 0 15550 G /usr/lib/firefox/firefox 1MiB | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. I have both cuda9.2 and cuda10 installed on my ubuntu 16.04. I am very confused by the different CUDA versions shown by running which nvcc and nvidia-smi.
