PTX files

I’m new to the CUDA dev world, and have been given code to look at because it isn’t working on the new GPUs. So, as I’m digging through the files I come across the Compute Capability numbers and the JIT concept. I’m thinking, since the code was working on the 1060s, but doesn’t seem to work on the 2075s, it is probably due to the architectural differences, and I should try the JIT approach to just let the driver do the work at load time.

So, my question is how to I get the NVCC to leave in the PTXs and not finish off?? I’ve not been successful at finding the nvcc manual, so I thought I’d try the forums

The nvcc documentation is here:

http://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html

You can also get documentation on command line switches by invoking nvcc with --help.