OpenRepair: An Automated Tool for OpenMP Data Race Repair via Retrieval-Augmented LLMs

OpenMP is a widely adopted shared-memory programming model, yet its concurrent execution is highly prone to data races, threatening software correctness and performance. Existing automated repair techniques depend heavily on manually designed synchronization strategies, which limit their applicability to diverse OpenMP programs. This paper demonstrates OpenRepair, an end-to-end automated tool designed to generate context-aware data-race fixes for OpenMP applications. OpenRepair features a robust pipeline that synergizes static analysis, retrieval-augmented generation (RAG), and large language models (LLMs). By automatically digesting runtime race reports, extracting program concurrency structures, and retrieving relevant repair knowledge, the tool seamlessly synthesizes precise, template-free patches.Evaluation on 97 OpenMP benchmarks and real-world applications highlights its scalability and practical effectiveness: OpenRepair successfully resolves 85 race conditions, improving repair capability by 44.1% over existing tools while introducing lower synchronization overhead.

Link
https://www.semanticscholar.org/paper/2a3f53b2f945b35a48fefbc1eb6106afbfd30800
Found by
Semantic Scholar
Authors
Jin-Ning Zhang, Bin Yu, Hao-Li Zhang, Le-Tian Wang, Wen-Sheng Wang, Xu Lu
Categories
benchmark, evaluation
Published
2026-10-03
Last seen by the radar
2026-10-05
Citations
0
Influential citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3837729.3840489
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar