문제

저는 OpenCL을 개발 중입니다.OpenCL 코드를 한 단계씩 실행하여 추적할 수 있는 OpenCL용 좋은 디버거를 아는 사람이 있습니까?

도움이 되었습니까?

해결책

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

다른 팁

You may also want to look into CodeXL:

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

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

your best bet is Intel Debugger for CPU, announced at Intel OpenCL SDK 1.5:

Intel OpenCL SDK you can step-by-step debug in visual studio.

Visual Studio debugger plug-in

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

AMD gDEBugger만이 OpenCL 단계별 실행 및 기타 유용한 기능을 지원합니다.http://developer.amd.com/tools/gDEBugger/Pages/default.aspx

NVidia Parallel NSight 및 기타 NVidia 제품은 마케팅 결정으로 인해 OpenCL 디버깅을 지원하지 않습니다.

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

I have not used it, but CLBuilder looks promising

Main features of CLBuilder

  1. Write OpenCL kernels with color syntaxing
  2. Compile the kernel to check errors without the need to launch and debug your own app.
  3. Easily create and select Build settings.
  4. Define kernel input values and check results.
  5. Profile the kernel execution time in order to improve performances.
  6. Create different Work Item Sizes Set (Global and Local) to check performances.
  7. Execute the kernel with printf on CPU and easily debug the code.
  8. Display input and output values on a chart.
  9. Consult execution log in order to see what CLBuilder is doing (log each OpenCL C function).
  10. Check Local and Constant arguments and resources used by the kernel.
  11. Generate C code to execute the kernel, CLBuilder will also compile this generated source code and execute it.
  12. Easily check all OpenCL properties including platform information.

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

From the website:

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top