NextGen TotalView for HPC User Guide : PART III Using the CUDA Debugger : Chapter 15 CUDA Debugging Tutorial : Compiling for Debugging : Compiling for Fermi
Compiling for Fermi
To compile for Fermi, use the following compiler option:
-gencode arch=compute_20,code=sm_20