首页> 外文会议>ACM SIGGRAPH Asia >Debugging GPU stream programs through automatic dataflow recording and visualization
【24h】

Debugging GPU stream programs through automatic dataflow recording and visualization

机译:通过自动数据流录制和可视化调试GPU流程序

获取原文

摘要

We present a novel framework for debugging GPU stream programs through automatic dataflow recording and visualization. Our debugging system can help programmers locate errors that are common in general purpose stream programs but very difficult to debug with existing tools. A stream program is first compiled into an instrumented program using a compiler. This instrumenting compiler automatically adds to the original program dataflow recording code that saves the information of all GPU memory operations into log files. The resulting stream program is then executed on the GPU. With dataflow recording, our debugger automatically detects common memory errors such as out-of-bound access, uninitialized data access, and race conditions -- these errors are extremely difficult to debug with existing tools. When the instrumented program terminates, either normally or due to an error, a dataflow visualizer is launched and it allows the user to examine the memory operation history of all threads and valuesin all streams. Thus the user can analyze error sources by tracing through relevant threads and streams using the recorded dataflow.
机译:我们通过自动数据流录制和可视化提出了一种用于调试GPU流程序的新框架。我们的调试系统可以帮助程序员定位通用流程序中常见的错误,但非常难以使用现有工具调试。首先使用编译器将流程序编译为仪器程序。此仪器编译器自动添加到原始程序数据流录制代码,将所有GPU存储器操作的信息保存到日志文件中。然后在GPU上执行生成的流程序。使用DataFlow录制,我们的调试器会自动检测常见的内存错误,例如绑定的访问,未初始化的数据访问和竞争条件 - 这些错误非常难以使用现有工具调试。当仪表程序终止时,通常或由于错误,启动数据流Visualizer,它允许用户检查所有线程的内存操作历史记录和valueIn所有流。因此,用户可以通过使用录制的数据流来追踪相关线程和流来分析错误源。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号