tags:

views:

707

answers:

3

Hi,

I am working on OpenCL. Does anyone know of a good debugger for OpenCL so that I can step into the OpenCL code and trace?

Thanks, Rakesh.

+1  A: 

It's not available yet, but NVIDIA's Parallel Nsight debugger (formerly known as Nexus) will support OpenCL (GPU).

From the website:

Parallel Nsight supports CUDA C, OpenCL, DirectCompute, Direct3D, and OpenGL.

Unfortunately it is currently in beta and the beta doesn't have OpenCL support.

Tom
+3  A: 

Maybe you can try to use GDB on x86 CPU under Linux OS, see AMD's tutorial: http://developer.amd.com/gpu/ATIStreamSDK/assets/Debugging_OpenCL_with_GDB_on_x86_CPUs.pdf

Stringer Bell
+1  A: 

Perhaps Gremedy's OpenCL debugger would be helpful? http://www.gremedy.com/gDEBuggerCL.php

James