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