I would like to optimize my kernels using Nsight, which means I have to set “Generate GPU Debug Information” to “Yes (-G)” in Propeties/CUDA Runtime APU/GPU. Any CUDA project will work without this option but compilation will always fail with it.
The error I get is:
ptxas C:/ [XXX] .ptx, line 150; fatal error : Parsing error near '-': syntax error ptxas : fatal error : Ptx assembly aborted due to errors
My setup is the following:
Windows 7 - VS2008 SP1 - 2x GTX Titan - Cuda 5.5 - Nsight 3.2 - Drivers 331.65
Your help is really apreciated