Totalview® for HPC User Guide : PART V Using the CUDA Debugger : Chapter 27 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