Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
253 views

How to debug CUDA kernels in Visual Studio 2010 without monitor halting

I have CUDA 6.5 SDK with Parallel Nsight 4.2 installed on Win7 x64. I want to debug my CUDA kernels, but my monitor halts at break points. In my Nsigt montior options under CUDA menu I have Desktop ...
sajid sharlemin's user avatar
1 vote
1 answer
914 views

Visual Studio 2010 debugger points to wrong line

The debugger in Visual Studio 2010 is recently pointing at the wrong lines and/or skipping lines and I have no idea why this is. This is a CUDA project and only happens in CUDA files. I've noticed the ...
Didii's user avatar
  • 1,343
0 votes
1 answer
264 views

Nsight Debug %1 is no a valid Win32 application

I have a VS 2010 project where I have a .cu file that adds two vectors. It is the one from cuda sdk 5.5 samples. Also, I have replaced the main function with a mexfunction and made the correct changes ...
Darkmoor's user avatar
  • 902
0 votes
2 answers
1k views

Nsight debugger doesn't hit breakpoints

My current configuration : Visual Studio 2010, CUDA 5.5, Nsight version 3.1, Graphics card driver version 327.23 (latest) The problem is that breakpoints in __global__ kernels are not hit when ...
Giuliano De Sabata's user avatar
2 votes
2 answers
1k views

Debug cuda kernel on mexfunction by attaching Matlab with Nsight GPU Debugger

I would like to ask how can we debug cuda kernel that is called from a mexfunction with VS 2010 and Nsight. I followed the instructions in http://http.developer.nvidia.com/NsightVisualStudio/2.2/...
Darkmoor's user avatar
  • 902
1 vote
2 answers
429 views

Differences between Nsight debug launch and normal OS launch

I'd like to know what sets the "Debug with Nsight" option apart from simply executing the binary through Visual Studio or the OS's command line. The reason I ask is because my program works fine if ...
Leo Brito's user avatar
  • 2,051
2 votes
3 answers
4k views

debugging cuda files in visual studio

i have a cpp function (function.cpp") which i "mex"-ed. then i open the function.cpp file in visual studio and attach visual studio to a running matlab process. when i call the function in matlab i ...
user1612986's user avatar
  • 1,415