If you cd to “
/usr/local”, and run “
ls -d cuda*”, then one of them will show a version. That is your current version.
The CUDA version has a strong dependency to the installed L4T which is currently flashed. If you need a different version, then you need to flash. However, keep in mind that
nvcc can compile for different compute architectures, e.g., “
-gencode arch=” can support different GPUs. Make sure it is really the CUDA version you need to change, and not just a recompile for that GPU.
Here are links to a list of L4T releases (which is what JetPack/SDKM flashes):
(you’ll need to go there, log in, and then go there a second time)
Here are links to JetPack releases:
When you drill down to any particular release in that list it will mention which CUDA version it supports. If you simply recompiling for your GPU is not sufficient, then you will need to flash with the JetPack/SDKM release having the proper CUDA version.