CUDA 3.2 中的仿真模式与 VS2008

发布于 2024-09-29 11:07:23 字数 259 浏览 0 评论 0原文

我正在尝试使用设备模拟模式调试内核代码。

alt text

但是,我在内核中设置了断点,但它没有中断。

 MatrixMultiplication_Kernel<<<dimGrid, dimBlock>>>(Md, Nd, Pd, Width);

有人可以帮助我吗?

I am trying to debug into my kernel code, using the device emulation mode.

alt text

However, I set break points in my kernel and it doesn't break.

 MatrixMultiplication_Kernel<<<dimGrid, dimBlock>>>(Md, Nd, Pd, Width);

Can anyone assist me with this?

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

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

发布评论

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

评论(2

可爱咩 2024-10-06 11:07:23

3.1 版本中删除了设备模拟。您可以在 Windows 上使用 Parallel Nsight 进行调试,或者在 Linux/Mac 上使用 cuda- 进行调试gdb(包含在 CUDA 工具包中)。

Device emulation was removed in the 3.1 release. You can debug on Windows using Parallel Nsight, or on Linux/Mac using cuda-gdb (included with the CUDA Toolkit).

淡淡離愁欲言轉身 2024-10-06 11:07:23

我没有调查或检查它,但也许以下软件是替代方案,或者可以支持有关 cuda 的调试目的:

http://code.google.com/p/gpuocelot/

前端站点上最实际的论文标题为“Ocelot:一种开源调试和
CUDA 编译框架”。所以也许这个软件会对您有所帮助。它似乎正在大力开发中。

I didn't look into it or check it, but maybe the following software is an alternative or could be supportive for debugging purposes regarding cuda:

http://code.google.com/p/gpuocelot/

The most actual paper on the front-site is titled "Ocelot: An Open Source Debugging and
Compilation Framework for CUDA"
. So maybe this software will help you. It seems to be under heavy development.

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