• DocumentCode
    656139
  • Title

    HAccRG: Hardware-Accelerated Data Race Detection in GPUs

  • Author

    Holey, Anup ; Mekkat, Vineeth ; Zhai, Antonia

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Univ. of Minnesota, Minneapolis, MN, USA
  • fYear
    2013
  • fDate
    1-4 Oct. 2013
  • Firstpage
    60
  • Lastpage
    69
  • Abstract
    Modern Graphics Processing Units (GPUs) are capable of supporting thousands of concurrent threads. However, they provide relatively little guarantee with respect to the coherence and consistency of the memory system. Thus, GPUs are prone to multitude of concurrency bugs related to inconsistent memory states. Many such bugs manifest as some form of data races at runtime, and being able to identify these data races can help programmers improve software reliability. Mechanisms that enable efficient and effective data race detection at runtime can form the basis of powerful tools for enhancing GPU software correctness. Most prior works in data race detection for GPU focus on the software-based approaches that incur significant performance overhead. Furthermore, they often focus on the smaller shared memory, while neglecting the larger global memory. We believe that adequate hardware support can enable efficient data race detection in all levels of the memory system for GPUs. In this paper, we propose a hardware-accelerated data race detection mechanism, HAccRG, for efficient data race detection in GPUs. HAccRG provides hardware support for tracking data dependencies across a large number of threads and detects various forms of data races. We incorporate HAccRG on both the shared and global memory spaces in GPU. Our evaluation shows that, with moderate hardware support, HAccRG can detect data races in GPU kernels with a small overhead: 1% for the shared memory and 27% for combined shared and global memory data race detection.
  • Keywords
    graphics processing units; shared memory systems; software reliability; GPU kernels; HAccRG; concurrency bugs; data dependencies tracking; global memory spaces; graphics processing units; hardware support; hardware-accelerated data race detection mechanism; performance overhead; shared memory spaces; software correctness; software reliability; Graphics processing units; Hardware; Instruction sets; Kernel; Runtime; Synchronization; GPUs; concurrency bugs; data race detection;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing (ICPP), 2013 42nd International Conference on
  • Conference_Location
    Lyon
  • ISSN
    0190-3918
  • Type

    conf

  • DOI
    10.1109/ICPP.2013.15
  • Filename
    6687339