Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Debugging CUDA kernels

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

Anyone knows what is the issue, and is it possible to debug CUDA code?

Debugging CUDA kernels

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, ..\.\
opencv-2.4.4\modules\core\src\gpumat.cpp, line 1415

Anyone knows what is the issue, and is it possible to debug CUDA code?

Debugging CUDA kernels

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?

Debugging CUDA kernels

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?

Is it normal to load lots of modules(no symbols loaded) and is it causing this error?

Debugging CUDA kernels

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?

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?