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