检查计时X10程序的种族自由度
Checking Race Freedom of Clocked X10 Programs
摘要:
更好地利用并行性的许多方法之一(现在已经成为主流)是引入并行程序设计语言。然而,并行性本质上是不确定的,并且并非所有的并行错误都可以通过语言设计来避免。本文提出了一种方法,以保证没有数据竞争的多面体子集的时钟X10程序。X10中的时钟与barrier类似,但更加动态;参与同步的进程子集可以在运行时动态更改。我们构建的时钟X10程序的发生之前的关系,并表明,竞争检测的问题是不可判定的。然而,在许多实际情况下,现代工具能够找到解决方案或证明其不存在。我们提出了一套基准的分析是可能的,并有一个可接受的运行时间。
英文摘要:
One of many approaches to better take advantage of parallelism, which has now become mainstream, is the introduction of parallel programming languages. However, parallelism is by nature non-deterministic, and not all parallel bugs can be avoided by language design. This paper proposes a method for guaranteeing absence of data races in the polyhedral subset of clocked X10 programs. Clocks in X10 are similar to barriers, but are more dynamic; the subset of processes that participate in the synchronization can dynamically change at runtime. We construct the happens-before relation for clocked X10 programs, and show that the problem of race detection is undecidable. However, in many practical cases, modern tools are able to find solutions or disprove their existence. We present a set of benchmarks for which the analysis is possible and has an acceptable running time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。