OpenCL 调试器

发布于 2024-08-23 02:25:54 字数 1539 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

与风相奔跑 2024-08-30 02:25:54

您可能还想查看 CodeXL:

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

CodeXL 最初由 AMD 开发,但后来作为开源项目发布。

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.

余厌 2024-08-30 02:25:54

也许 Gremedy 的 OpenCL 调试器会有帮助?
http://www.gremedy.com/gDEBuggerCL.php

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

只有影子陪我不离不弃 2024-08-30 02:25:54

您最好的选择是英特尔 OpenCL SDK 1.5 中发布的适用于 CPU 的英特尔调试器:

英特尔 OpenCL SDK
您可以在 Visual Studio 中逐步调试。

Visual Studio调试器插件

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

霓裳挽歌倾城醉 2024-08-30 02:25:54

也许你可以尝试在Linux操作系统下的x86 CPU上使用GDB,参见AMD的教程:
http://developer.amd.com/gpu/ATIStreamSDK/assets/Debugging_OpenCL_with_GDB_on_x86_CPUs.pdf

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

墨小沫ゞ 2024-08-30 02:25:54

只有 AMD gDEBugger 支持 OpenCL 逐步运行和其他美味功能
http://developer.amd.com/tools/gDEBugger/Pages/default.aspx

由于营销决策,NVidia Parallel NSight 和其他 NVidia 产品将不支持 OpenCL 调试。

Only AMD gDEBugger supports OpenCL step by step running and other tasty 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.

一个人的旅程 2024-08-30 02:25:54

我通常建议使用伦敦帝国理工学院的 GPUVerifyOclgrind 来自布里斯托大学,特别是当您陷入调试 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).

瀞厅☆埖开 2024-08-30 02:25:54

我还没有使用过它,但是 CLBuilder 看起来很有前途

CLBuilder的主要特点

  1. 使用颜色语法编写 OpenCL 内核
  2. 编译内核以检查错误,而无需启动和
    调试您自己的应用程序。
  3. 轻松创建并选择构建设置。
  4. 定义内核输入值并检查结果。
  5. 分析内核执行时间以提高性能。
  6. 创建不同的工作项大小集(全局和本地)进行检查
    表演。
  7. 在 CPU 上使用 printf 执行内核并轻松调试代码。
  8. 在图表上显示输入和输出值。
  9. 查阅执行日志以了解 CLBuilder 正在做什么(日志
    每个 OpenCL C 函数)。
  10. 检查本地和常量参数以及所使用的资源
    内核。
  11. 生成C代码执行内核,CLBuilder也会编译
    生成源代码并执行它。
  12. 轻松检查所有 OpenCL 属性,包括平台信息。

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.
泪是无色的血 2024-08-30 02:25:54

NVIDIA 的 Parallel Nsight 调试器(以前称为 Nexus)支持 OpenCL (GPU)。

来自网站:

Parallel Nsight 支持 CUDA C、OpenCL、DirectCompute、Direct3D 和 OpenGL。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文