NVIDIA 并行 Nsight 和 OpenCL
我对 NVIDIA Parallel Nsight 和 OpenCL 有点困惑,谁能向我确认是否可以使用 NVIDIA Parallel Nsight 1.5 或 2.0RC 调试 OpenCL 代码?
I'm little confuse with NVIDIA Parallel Nsight and OpenCL, can anyone confirm me that it is possible to debug OpenCL code using NVIDIA Parallel Nsight 1.5 or 2.0RC?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
目前还无法使用 Parallel Nsight 调试 OpenCL 内核。 Parallel Nsight 2.0(截至2011年6月的最新版本)仅支持CUDA内核的调试。然而,OpenCL 调试是未来版本中可能加入该产品的功能之一。
Currently it is not possible to debug OpenCL kernels with Parallel Nsight yet. Parallel Nsight 2.0 (the latest release as of Jun 2011) only supports the debugging of CUDA kernel. However OpenCL debugging is one of the features that is likely to go into the product in future releases.
是的,有可能,我自己做过,唯一的问题是您需要两台连接到网络的计算机,并具有两个相同的显卡。一台计算机将逐步执行您的内核(由于这一事实,图形适配器将无法显示结果,显示将停止)这是第二台计算机发挥作用的地方,它像您一样在 Visual Studio 中显示结果正在调试普通程序。
我个人认为 NVIDIA Parallel Nsight 是一个无用的工具。任何内核调试都可以通过向内核添加附加参数并在那里输出任何主题数据来完成。
Yes, it is possible, I've did it my self, the only problem is that you will need two computers connected to network, having two identical video cards. One will be executing your kernel step by step(due to this fact the graphical adapter won't be able to display results, the display will stall) this is where the second computer comes in to play, it displays results in Visual Studio like you were debugging ordinary program.
Personally I found NVIDIA Parallel Nsight as a useless tool. Any kernel debugging can be done via adding additional argument to a kernel and outputting any subject data there.
Parallel Nsight 2.1 现在包含用于跟踪 OpenCL 1.1 的 API
@see http://nvidia.com/object/parallel-nsight.html
Parallel Nsight 2.1 include API for trace OpenCL 1.1 now
@see http://nvidia.com/object/parallel-nsight.html