I have a Jetson AGX Xavier with CUDA upgraded to 12.2 by following these instructions.
If I then compile and run a quick test CUDA program cudaRuntimeGetVersion() reports 12.2.0 but cudaDriverGetVersion() reports 11.4.0.
This possibly wouldn’t matter but ArrayFire uses cudaDriverGetVersion() to decide if it can run and it’s deciding that it can’t because the CUDA version is too old.
According to the Technical blog on upgrading CUDA the upgrade package includes libcuda.so, and I can see it installed in the /usr/local/cuda-12.2 directory (which /usr/local/cuda points to).