Debugging CUDA kernels

asked 2013-03-26 10:21:24 -0600

mada gravatar image

updated 2013-03-27 07:50:15 -0600

Hi,

I´ve made some of my own CUDA code additional to OpenCV code, which I would like to debug using Parallel NSight in Visual Studio. CUDA kernels are in separate .cu files.

When I am trying to start CUDA debugging, while (or just after, not sure) loading lots of modules (various .cu files) it crashes. This is the error I get:

    OpenCV Error: Gpu API call (out of memory) in unknown function, file ..\.\
opencv-2.4.4\modules\core\src\gpumat.cpp, line 1415

Also, a window gets opened: "Microsoft Visual c++ Debug Library", with: "Debug error!" and "R6010 abort has been called"

Anyone knows what is the issue, and is it possible to debug CUDA code? CUDA debugger works on CUDA samples (without OpenCV)... Is it normal to load lots of modules(no symbols loaded) and is it causing this error?

edit retag flag offensive close merge delete