OMPar: Automatic Parallelization with AI-Driven Source-to-Source Compilation
Not on the map. Why?
Abstract (arXiv)
Manual parallelization of code remains a significant challenge due to the complexities of modern software systems and the widespread adoption of multi-core architectures. This paper introduces OMPar, an AI-driven tool designed to automate the parallelization of C/C++ code using OpenMP pragmas. OMPar integrates Large Language Models (LLMs) through two key components: OMPify, which assesses loop parallelization potential, and MonoCoder-OMP, a new fine-tuned model which generates precise OpenMP pragmas. The evaluation of OMPar follows the same rigorous process applied to traditional tools like source-to-source AutoPar and ICPC compilers: (1) ensuring the generated code compiles and runs correctly in serial form, (2) assessing performance with the gradual addition of threads and corresponding physical cores, and (3) verifying and validating the correctness of the code's output. Benchmarks from HeCBench and ParEval are used to evaluate accuracy and performance. Experimental results demonstrate that OMPar significantly outperforms traditional methods, achieving higher accuracy in identifying parallelizable loops and generating efficient pragmas. Beyond accuracy, OMPar offers advantages such as the ability to work on partial or incomplete codebases and the capacity to continuously learn from new code patterns, enhancing its parallelization capabilities over time. These results underscore the potential of LLMs in revolutionizing automatic parallelization techniques, paving the way for more efficient and scalable parallel computing systems.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 14 of its 53 references that are in the map. First posted on arXiv 23 Sep 2024.
Builds on
14 of 53 references.
References · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Can Large Language Models Write Parallel Code?cited by 36
- 2023Comparing Llama-2 and GPT-3 LLMs for HPC kernels generationcited by 30
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Taskscited by 12
- 2023HPC-Coder: Modeling Parallel Programs using Large Language Modelscited by 11
- 2022Learning to Parallelize in a Shared-Memory Environment with Transformerscited by 10
- 2023Advising OpenMP Parallelization via a Graph-Based Approach with Transformerscited by 10
2 more
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025P4OMP: Retrieval-Augmented Prompting for OpenMP Parallelism in Serial Codecited by 1
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processorscited by 0
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilerscited by 0
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translationcited by 0
- 2026HARGO: Heterogeneity-Aware Reward-Guided Optimization for RL Post-Training of LLMs on HPC Taskscited by 0
- 2026HARGO: Heterogeneity-Aware Reward-Guided Optimization for RL Post-Training of LLMs on HPC Tasks30 Jul 2026
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processors31 Aug 2025
- 2025P4OMP: Retrieval-Augmented Prompting for OpenMP Parallelism in Serial Code28 Jun 2025