CUDA 边界检查器?
是否有相当于 CUDA 边界检查器、purify 或 valgrind 的工具?
我基本上是在寻找一些可以告诉我是否在分配的内存之外读取或写入的东西。
Is there a tool equivalent to a bounds checker or purify or valgrind for CUDA?
I'm basically looking for something that might tell me if I'm reading or writing outside of allocated memory.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
NVIDIA 发布了 CUDA memcheck 来完成此任务。它可以在 3.0 beta 工具包中找到,您需要注册开发者下载它。此外,NVIDIA 还发布了Nexus,这是他们针对 Visual Studio 2008 (Vista/7) 的调试器/分析器/2008)并包括内存检查(请参阅功能列表)。
NVIDIA have released CUDA memcheck which does exactly this. It's available in the 3.0 beta toolkit, you'll need to be a registered developer to download it. In addition, NVIDIA have also release Nexus which is their debugger/profiler for Visual Studio 2008 (Vista/7/2008) and includes memory checking (see the features list).
如果您在仿真模式下编译,您可以使用 Valgrind 本身来检测内核中的内存访问问题。
If you compile in emulation mode, you can use Valgrind itself to detect memory access problems in your kernels.