TotalView User Guide : Part V: Debugging : Using the CUDA Debugger : TotalView CUDA Debugging Tutorial : Compiling for Fermi and Tesla

Compiling for Fermi and Tesla
To compile for both Fermi and Tesla GPUs, use the following compiler options:
-gencode arch=compute_20,code=sm_20 -gencode arch=compute_10,code=sm_10
See the NVIDIA documentation for complete instructions on compiling your CUDA code.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com