...
首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >GMRace: Detecting Data Races in GPU Programs via a Low-Overhead Scheme
【24h】

GMRace: Detecting Data Races in GPU Programs via a Low-Overhead Scheme

机译:GMRace:通过低开销方案检测GPU程序中的数据竞争

获取原文
获取原文并翻译 | 示例

摘要

In recent years, GPUs have emerged as an extremely cost-effective means for achieving high performance. While languages like CUDA and OpenCL have eased GPU programming for nongraphical applications, they are still explicitly parallel languages. All parallel programmers, particularly the novices, need tools that can help ensuring the correctness of their programs. Like any multithreaded environment, data races on GPUs can severely affect the program reliability. In this paper, we propose GMRace, a new mechanism for detecting races in GPU programs. GMRace combines static analysis with a carefully designed dynamic checker for logging and analyzing information at runtime. Our design utilizes GPUs memory hierarchy to log runtime data accesses efficiently. To improve the performance, GMRace leverages static analysis to reduce the number of statements that need to be instrumented. Additionally, by exploiting the knowledge of thread scheduling and the execution model in the underlying GPUs, GMRace can accurately detect data races with no false positives reported. Our experimental results show that comparing to previous approaches, GMRace is more effective in detecting races in the evaluated cases, and incurs much less runtime and space overhead.
机译:近年来,GPU已成为实现高性能的极具成本效益的手段。尽管诸如CUDA和OpenCL之类的语言已经简化了非图形应用程序的GPU编程,但它们仍然是明确的并行语言。所有并行程序员,特别是新手,都需要可以帮助确保程序正确性的工具。像任何多线程环境一样,GPU上的数据争用会严重影响程序的可靠性。在本文中,我们提出了GMRace,这是一种用于检测GPU程序中种族的新机制。 GMRace将静态分析与精心设计的动态检查器相结合,可在运行时记录和分析信息。我们的设计利用GPU的内存层次结构来有效记录运行时数据访问。为了提高性能,GMRace利用静态分析来减少需要检测的语句数量。此外,通过利用底层GPU中的线程调度和执行模型的知识,GMRace可以准确地检测数据竞争,而不会报告误报。我们的实验结果表明,与以前的方法相比,GMRace在评估情况下更有效地检测种族,并减少了运行时间和空间开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号