NextGen TotalView for HPC User Guide : PART III Using the CUDA Debugger : Chapter 15 CUDA Debugging Tutorial : Compiling for Debugging : Compiling for Kepler
Compiling for Kepler
To compile for Kepler GPUs, use the following compiler options:
-gencode arch=compute_35,code=sm_35
See the NVIDIA documentation for complete instructions on compiling your CUDA code.