Dear CUDA Experts,
I am using following components:
Windows 7 32 bit OS with GTS250 GPU
Cuda 6.5 Toolkit
Visual Studio 2012 Express Edition
I am able to install Cuda toolkit successfully, Run the sample CUDA codes available in Toolkit…
I am in a need of a guide how to debug CUDA code with above configurations…
I came to know using Nsight but not sure how to Integrate Nsight with Visual Studio and proper procedure to use Nsight with Visual Studio…
Is it compulsory to have two GPUs to debug what forum says : one GPU is used for Display purpose so if you debug with one GPU it blocks Display…
Any help is highly appreciated.
Thanks In Advance…
You can debug the host code in your application normally. You would just select “Start Debugging” or whatever is the appropriate option in Visual Studio.
In order to debug device code in Visual Studio, it’s necessary to use the VS plugin that comes with Nsight VSE. However this plugin requires the full version of Visual Studio (or Visual Studio Community Edition). It does not work with the Express versions of Visual Studio, which do not support the plugin feature.
If you adjust your configuration somehow to address that, then “single GPU debugging” is something that is covered in the nsight visual studio edition documentation. Nsight VSE has supported various options for single GPU debugging since I think version 2.2 If you google “nsight VSE Single GPU debugging” you will find many resources.
Ok Thanks for your response…
Is there any list of steps to follow to install plugin in Visual Studio Full Version ?
Just run the regular CUDA 6.5 windows 7 32-bit installer after you have installed the full version of VS.
[url]https://developer.nvidia.com/cuda-toolkit-65[/url]