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

被引:28
|
作者
Zheng, Mai [1 ]
Ravi, Vignesh T. [2 ]
Qin, Feng [1 ]
Agrawal, Gagan [1 ]
机构
[1] Ohio State Univ, Dreese Labs 395, Columbus, OH 43082 USA
[2] AMD, Austin, TX 78735 USA
基金
美国国家科学基金会;
关键词
GPU; CUDA; data race; concurrency; multithreading;
D O I
10.1109/TPDS.2013.44
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:104 / 115
页数:12
相关论文
共 50 条
  • [21] Low-overhead interactive debugging via dynamic instrumentation with DISE
    Corliss, ML
    Lewis, EC
    Roth, A
    11TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, PROCEEDINGS, 2005, : 303 - 314
  • [22] Towards Low-Overhead Resilience for Data Parallel Deep Learning
    Nicolae, Bogdan
    Hobson, Tanner
    Yildiz, Orcun
    Peterka, Tom
    Morozov, Dmitry
    2022 22ND IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2022), 2022, : 336 - 345
  • [23] Novel low-overhead roll-forward recovery scheme for distributed systems
    Gupta, B.
    Rahimi, S.
    Liu, Z.
    IET COMPUTERS AND DIGITAL TECHNIQUES, 2007, 1 (04): : 397 - 404
  • [24] A Low-Overhead Dynamic TCAM With Pipelined Read-Restore Refresh Scheme
    Mishra, Sandeep
    Mahendra, Telajala Venkata
    Saikia, Jyotishman
    Dandapat, Anup
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2018, 65 (05) : 1591 - 1601
  • [25] Enhancing signal integrity through a low-overhead encoding scheme on address buses
    Lv, T
    Henkel, J
    Lekatsas, H
    Wolf, W
    DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION, PROCEEDINGS, 2003, : 542 - 547
  • [26] Catamaran: Low-Overhead Memory Safety Enforcement via Parallel Acceleration
    Zhang, Yiyu
    Liu, Tianyi
    Sun, Zewen
    Chen, Zhe
    Li, Xuandong
    Zuo, Zhiqiang
    PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 816 - 828
  • [27] LIFT: A low-overhead practical information flow tracking system for detecting security attacks
    Qin, Feng
    Wang, Cheng
    Li, Zhenmin
    Kim, Ho-seop
    Zhou, Yuanyuan
    Wu, Youfeng
    MICRO-39: PROCEEDINGS OF THE 39TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, 2006, : 135 - +
  • [28] A Low-Overhead and High-Precision Attack Traceback Scheme with Combination Bloom Filters
    Ma, Jie
    Su, Wei
    Li, Yikun
    Yao, Fangtao
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [29] A low-overhead handling scheme of STA association information for IEEE 802.11S
    Okada, Hiraku.
    Mase, Kenichi
    Nozaki, Masanori
    Zhang, Bing
    2007 IEEE 18TH INTERNATIONAL SYMPOSIUM ON PERSONAL, INDOOR AND MOBILE RADIO COMMUNICATIONS, VOLS 1-9, 2007, : 584 - +
  • [30] Low-Overhead Interference Mitigation Scheme for Collaborative Channel Assignment in Overloaded Multiantenna Femtocells
    Radaydeh, Redha M.
    Alouini, Mohamed-Slim
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2012, 61 (07) : 3071 - 3086