Checking Race Freedom of Clocked X10 Programs

Abstract : 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.
Document type :
Preprints, Working Papers, ...
Complete list of metadatas

https://hal.inria.fr/hal-00907723
Contributor : Paul Feautrier <>
Submitted on : Thursday, November 21, 2013 - 4:15:59 PM
Last modification on : Wednesday, November 20, 2019 - 3:01:18 AM

Links full text

Identifiers

  • HAL Id : hal-00907723, version 1
  • ARXIV : 1311.4305

Collections

Citation

Tomofumi Yuki, Paul Feautrier, Sanjay Rajopadhye, Vijay Saraswat. Checking Race Freedom of Clocked X10 Programs. 2013. ⟨hal-00907723⟩

Share

Metrics

Record views

284