What option do I have to use the PGI compiler that’s compatible with RTX 2080TI with Visual Studio?
We only officially support NVIDIA Tesla products though when the GeForce products use the same core architecture, it’s usually not a problem. However here, the RTX 2080Ti uses an architecture (Turning) not yet available in the Tesla line, so even with our latest compilers, we don’t support it yet.
One thing you can try is to add the flag “-ta=tesla:nordc” or “-Mcuda=nordc” to your compilation and link. RDC stands for “Relocatable Device Code” and allows to link device code to a whole program binary. Without RDC, the compiler instead creates device code in each individual object file. The side effect is that the PTX code is retained which newer cards can then recompile (via JIT). You don’t get the performance advantage and there are some limitations on what you can do in the device code (i.e. not calling device subroutines or accessing device data found in external modules), but might allow you to run on this card.
The other issue here is that the RTX 2080 Ti requires CUDA 10.0, while PGI 14.6 uses CUDA 5.5 by default which was the current version back in 2014. CUDA 10.0 does support running applications built with older CUDA Toolkits, but I’m not positive it goes back as far as CUDA 5.5. Though, worth a try.
You might also need to set the environment variable “CUDA_FORCE_PTX_JIT=1” to force the CUDA 10.0 driver to recompile the PTX.
Hope this helps,