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