NVIDIA Nsight requires that you configure your CUDA project to use the CUDA Toolkit that ships with NVIDIA Nsight. The CUDA Toolkit that ships with NVIDIA Nsight generates the appropriate debug symbolics. If you use a different CUDA Toolkit, such as the CUDA Toolkit that ships with the CUDA SDK, your application will not necessarily contain the debug symbolics that the NVIDIA Nsight CUDA Debugger or the analysis tools require.

To configure an existing VS2010 project to work with NVIDIA Nsight

Configure the CUDA C/C++ build properties:

  1. In the Solution Explorer, right-click on the project name. A drop-down menu appears.
  2. Select Properties. The project's Property Pages window appears.
  3. Select the Configuration that you intend to build, such as Debug or Release.
  4. In the left hand pane, expand Configuration Properties.
  5. Select CUDA C/C++.



  6. Edit the individual properties on the Common, Device, and Host pages. Use the Command Line page to see the command line that the NVIDIA CUDA C Compiler (nvcc) will use to build the project.
  7. Click OK to close the Property Pages window. 

 

See Also

Reference
Tesla Compute Cluster (TCC)
Macros for Build Commands and Properties
List of Common Properties and Parameters
Environment Variables

 

How Tos
Configure a VS 2008 Project to Work with Nsight
Set Build Options in VS 2008

 

 


NVIDIA® Nsight™ Development Platform, Visual Studio Edition User Guide Rev. 3.2.131009 ©2009-2013. NVIDIA Corporation. All Rights Reserved.

of