04-29-2020 08:34 AM
Thanks for all the helpful info!
05-03-2020 01:53 PM
I finally got this example working after I upgraded to a newer GPU (Quadro P2200). The newer graphics card has a driver that is compatible with CUDA 10.2 and then this vi worked right away. Yay! For others trying to track down a problem like this, NVIDIA has a web page that lists the latest driver that a certain generation of GPUs are compatible with and then which version of CUDA supports which driver version. My original card had only a Compute Capability of 2.0, confining it to an older driver and an older version of CUDA. For more details, see Tables 1 & 2 in this link:
https://docs.nvidia.com/deploy/cuda-compatibility/index.html
05-04-2020 08:40 AM
Great sleuthing job! I had not seen that page before. I've had problems with users having incompatible display drivers (or older hardware that didn't support the latest drivers) and now I see why:
Looks like static linking would be best for compatibility. Also for compatibility I've noticed that I need to specify the all the GPUs that the application will be compatible with using the arch and code compiler flags like this:
--generate-code arch=compute_53,code=sm_53