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