迈向准确的GPU数据竞争检测器
Towards an Accurate GPU Data Race Detector
AI总结:
本文提出HGRD技术,通过分析CPU和GPU代码,准确检测数据竞争并减少误报,优于动态和静态方法。
摘要:
GPU程序中的数据竞争威胁软件栈的可靠性。先前工作提出了动态和静态技术,但动态技术常漏检关键竞争,而静态技术易产生误报。本文发现主机代码包含GPU内核参数值的语义信息,提出HGRD技术,通过全面分析CPU和GPU代码,准确检测广泛的真实竞争并最小化误报。
英文摘要:
Data races in GPU programs pose a threat to the reliability of GPU-accelerated software stacks. Prior works proposed various dynamic (runtime) and static (compile-time) techniques to detect races in GPU programs. However, dynamic techniques often miss critical races, as they require the races to manifest during testing. While static ones can catch such races, they often generate numerous false alarms by conservatively assuming values of variables/parameters that cannot ever occur during any execution of the program. We make a key observation that the host (CPU) code that launches GPU kernels contains crucial semantic information about the values that the GPU kernel's parameters can take during execution. Harnessing this hitherto overlooked information helps accurately detect data races in GPU kernel code. We create HGRD, a new state-of-the-art static analysis technique that performs a holistic analysis of both CPU and GPU code to accurately detect a broad set of true races while minimizing false alarms. While SOTA dynamic techniques, such as iGUARD, miss many true races, HGRD misses none. On the other hand, static techniques such as GPUVerify and FaialAA raise tens of false alarms, where HGRD raises none.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。