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