Debugger for OpenCL

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

+41
opencl
Mar 02
source share
8 answers

Maybe a Gremedy OpenCL debugger would be helpful? http://www.gremedy.com/gDEBuggerCL.php

+14
Mar 03 '10 at 13:40
source share

You can also look in CodeXL:

https://gpuopen.com/compute-product/codexl/

CodeXL was originally developed by AMD, but was later released as an open source project.

+15
Dec 09 2018-12-12T00:
source share

Your best bet is the Intel Debugger for CPU, announced in the Intel OpenCL SDK 1.5:

Intel OpenCL SDK you can gradually debug a visual studio.

Visual Studio Debugger Plug-in

+8
Oct 15 '11 at 4:11
source share

Perhaps you can try using GDB on an x86 processor under Linux, see the AMD tutorial: http://developer.amd.com/gpu/ATIStreamSDK/assets/Debugging_OpenCL_with_GDB_on_x86_CPUs.pdf

+5
Mar 02 '10 at 13:33
source share

Only AMD gDEBugger supports OpenCL step-by-step startup and other delicious features http://developer.amd.com/tools/gDEBugger/Pages/default.aspx

NVidia Parallel NSight and other NVidia products will not support OpenCL debugging due to marketing decisions.

+5
Jul 22 '11 at 10:38
source share

I usually recommend using GPUVerify from Imperial College London and Oclgrind from the University of Bristol, especially when you delay debugging your OpenCL programs (but better even before that).

+4
Mar 04 '15 at 2:03
source share

NVIDIA The Parallel Nsight debugger (formerly known as Nexus) supports OpenCL (GPU).

From the website:

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

+2
Mar 02
source share

I have not used it, but CLBuilder looks promising

Key Features of CLBuilder

  • Writing OpenCL cores with color syntax
  • Compile the kernel to check for errors without having to run and debug your own application.
  • Easily create and select build options.
  • Determine the input values ​​of the kernel and check the results.
  • Profile kernel runtimes to improve performance.
  • Create various work item size settings (global and local) to test performances.
  • Run the kernel from printf to the CPU and easily debug the code.
  • Display input and output values ​​on a chart.
  • Consult the runtime log to see what CLBuilder does (each OpenCL C function logs).
  • Check local and constant arguments and resources used by the kernel.
  • Generate C code to start the kernel, CLBuilder will also compile this generated source code and execute it.
  • Easily check all OpenCL features, including platform information.
+2
Aug 29 2018-11-21T00:
source share



All Articles