Metraipolis › archive › dc_02aeb7e76e40
OpenMP Meta-Lowering: A Declarative Approach to Performance Portable Parallel Code Generation — arXiv:2610.03571
- Source
- arXiv
- Original
- https://arxiv.org/abs/2610.03571
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-05T22:53:01.601Z
- SHA-256 of the archived text
1bbb4e76d3891672004459c851244317ca2f2975c1ade02628e092e1c1157102- Stable URL of this page
https://metraipolis.com/documento/dc_02aeb7e76e40
How to cite
OpenMP Meta-Lowering: A Declarative Approach to Performance Portable Parallel Code Generation — arXiv:2610.03571 — arXiv, https://arxiv.org/abs/2610.03571 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_02aeb7e76e40 (Metraipolis archive dc_02aeb7e76e40, sha256 1bbb4e76d3891672004459c851244317ca2f2975c1ade02628e092e1c1157102)
BibTeX
@misc{dc02aeb7e76e40,
title = {OpenMP Meta-Lowering: A Declarative Approach to Performance Portable Parallel Code Generation — arXiv:2610.03571},
howpublished = {arXiv},
url = {https://arxiv.org/abs/2610.03571},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_02aeb7e76e40; sha256 1bbb4e76d3891672004459c851244317ca2f2975c1ade02628e092e1c1157102},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.03571. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The increasing diversity of parallel hardware challenges existing compilation flows. While OpenMP provides a portable abstraction for shared-memory parallelism, existing compilers tightly couple the frontend semantics with fixed lowering strategies. This design limits performance portability across different runtimes and architectures. In this paper, we present a modular approach to parallel code generation based on the Multi-Level Intermediate Representation (MLIR) framework. Our approach combines an OpenMP frontend with a domain-specific language (DSL) that specifies how OpenMP constructs are lowered for a target. We call this approach OpenMP meta-lowering, treating lowering as a programmable component rather than compiler-specific logic. This design provides explicit control over code outlining, data sharing, and runtime interfacing across diverse targets. We evaluate our approach on PolyBench/C-OMP across general-purpose and embedded multicore targets. Our results show that the proposed method matches the performance of state-of-the-art compiler toolchains with negligible code-size overhead (< 0.7%). Preserving OpenMP constructs until late lowering stages enables both general-purpose and OpenMP-specific MLIR optimizations. By decoupling lowering from compiler internals, our approach expresses the same OpenMP subset in 5,182 lines of code, ~32% fewer than the corresponding lowering code in Clang and ~76% fewer than in GCC, while supporting the pmsis runtime costs only a few specification lines, enabling rapid support for new runtimes without modifying the compiler. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno). Categorie arXiv: Programming Languages (cs.PL) ; Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2610.03571 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-05T22:46:25.552Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).