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