In order to use cuda nsight debugger I need to compile my cuda passing in the -G0 flag to nvcc.
This flag generates the symbolics information necessary to debug the code.
When I go to source files properities->CUDA Build Rule->Command Line I can see something like that:
echo “C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /RTC1 /MTd " -I"C:\CUDA\include” - …
I can’t edit this part, but I can define Additional options below. Putting there just -G0 doesn’t make nvcc compile the file with the -G0 flag.
How can I do it?