【24h】

ScoRD: A Scoped Race Detector for GPUs

机译:ScoRD:适用于GPU的范围竞赛探测器

获取原文

摘要

GPUs have emerged as a key computing platform for an ever-growing range of applications. Unlike traditional bulk-synchronous GPU programs, many emerging GPU-accelerated applications, such as graph processing, have irregular interaction among the concurrent threads. Consequently, they need complex synchronization. To enable both high performance and adequate synchronization, GPU vendors have introduced scoped synchronization operations that allow a programmer to synchronize within a subset of concurrent threads (a.k. a., scope) that she deems adequate. Scoped-synchronization avoids the performance overhead of synchronization across thousands of GPU threads while ensuring correctness when used appropriately. This flexibility, however, could be a new source of incorrect synchronization where a race can occur due to insufficient scope of the synchronization operation, and not due to missing synchronization as in a typical race.We introduce ScoRD, a race detector that enables hardware support for efficiently detecting global memory races in a GPU program, including those that arise due to insufficient scopes of synchronization operations. We show that ScoRD can detect a variety of races with a modest performance overhead (on average, 35%). In the process of this study, we also created a benchmark suite consisting of seven applications and three categories of microbenchmarks that use scoped synchronization operations.
机译:GPU已成为不断增长的应用程序中的关键计算平台。与传统的批量同步GPU程序不同,许多新兴的GPU加速应用程序(例如图形处理)在并发线程之间具有不规则的交互。因此,它们需要复杂的同步。为了同时实现高性能和适当的同步,GPU供应商引入了范围内的同步操作,该范围内的同步操作允许程序员在她认为足够的并发线程子集(也称为范围)内进行同步。范围同步避免了跨数千个GPU线程进行同步的性能开销,同时确保了正确使用时的正确性。但是,这种灵活性可能是错误同步的新来源,在这种情况下,由于同步操作的范围不足,而不是像典型的种族那样,由于缺少同步,可能导致竞争。我们引入了ScoRD,它是一种种族检测器,它支持硬件用于有效地检测GPU程序中的全局内存竞争,包括由于同步操作范围不足而引起的竞争。我们证明ScoRD可以以适度的性能开销(平均35%)检测各种种族。在研究过程中,我们还创建了一个基准套件,该套件由七个应用程序和三类使用范围同步操作的微基准组成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号