[opencl笔记]2017年08月30日 opencl的调试

欢迎访问:http://www.hongwgw.com/image/forum.php?mod=viewthread&tid=13&extra=page%3D1


问题:我正在使用opencl,大家有知道好的opencl的调试工具吗?可以逐语句的调试和跟踪的那种。

回答一:
推荐 Gremedy's OpenCL debugger
http://www.gremedy.com/gDEBuggerCL.php
以前可以在 developer.amd.com/tools/gDEBugger/Pages/default.aspx 找到
现在被 CodeXL 替代。
http://developer.amd.com/tools/heterogeneous-computing/codexl/

回答二:
最好的选择是   Intel Debugger for CPU,在   Intel OpenCL SDK 1.5
Intel OpenCL SDK 可以再visual studio中逐语句调试
Visual Studio debugger plug-in

回答三:
可以试试 GDB on x86 CPU under Linux OS, AMD's教程:
http://developer.amd.com/gpu/ATIStreamSDK/assets/Debugging_OpenCL_with_GDB_on_x86_CPUs.pdf

回答四:
AMD gDEBugger支持 逐语句调试
http://developer.amd.com/tools/gDEBugger/Pages/default.aspx
Nvidia  Parallel NSight和其它的一些Nvidia产品出于市场的考虑未能支持opencl调试


回答五:
我推荐
1.   GPUVerify   Imperial College London
2.  Oclgrind   University of Bristol


回答六:
CLBuilder  似乎可以,虽然我没有用过
  1. Main features of CLBuilder

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

回答七:
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.
(注释:未必支持调试)
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值