TY - GEN
T1 - Manual, Translated, or LLM-Generated? Comparing Paths to OpenMP Target Offload for LULESH
AU - Fridman, Yehonatan
AU - Oren, Gal
N1 - Publisher Copyright:
© 2026 IEEE.
PY - 2026/1/1
Y1 - 2026/1/1
N2 - LULESH is a widely used proxy for evaluating programming models, compiler maturity, and GPU offload strategies. Its mix of memory-bound kernels, reductions, irregular access patterns, and data-layout sensitivity makes it a demanding target for directive-based offload, yet there is no clear consensus on the most effective path to a high-performance OpenMP target-offload version.We study three paths to OpenMP-offloaded LULESH: (1) manually tuned OpenMP ports from prior work, (2) an OpenACC→OpenMP translation produced by Intel's migration tool, and (3) LLM-assisted OpenMP offload produced by an agentic Codex workflow. For the LLM-assisted path, we evaluate two tasks: translation plus restructuring starting from OpenACC, and optimization starting from a manual OpenMP port.On an NVIDIA A100, we benchmark all variants and analyze data residency, runtime scaling, and compiler-generated kernels. The Codex optimization variant is the fastest directive-based implementation at moderate and large sizes, surpassing both the manual and translation-only versions while retaining a clean directive structure; the Codex translation variant remains within a few percent of OpenACC across sizes. Source code is available at https://github.com/Scientific-Computing-Lab/LULESH-GPU-Optimization.
AB - LULESH is a widely used proxy for evaluating programming models, compiler maturity, and GPU offload strategies. Its mix of memory-bound kernels, reductions, irregular access patterns, and data-layout sensitivity makes it a demanding target for directive-based offload, yet there is no clear consensus on the most effective path to a high-performance OpenMP target-offload version.We study three paths to OpenMP-offloaded LULESH: (1) manually tuned OpenMP ports from prior work, (2) an OpenACC→OpenMP translation produced by Intel's migration tool, and (3) LLM-assisted OpenMP offload produced by an agentic Codex workflow. For the LLM-assisted path, we evaluate two tasks: translation plus restructuring starting from OpenACC, and optimization starting from a manual OpenMP port.On an NVIDIA A100, we benchmark all variants and analyze data residency, runtime scaling, and compiler-generated kernels. The Codex optimization variant is the fastest directive-based implementation at moderate and large sizes, surpassing both the manual and translation-only versions while retaining a clean directive structure; the Codex translation variant remains within a few percent of OpenACC across sizes. Source code is available at https://github.com/Scientific-Computing-Lab/LULESH-GPU-Optimization.
KW - Codex 5.1
KW - GPU offloading
KW - LULESH
KW - OpenACC
KW - OpenMP target
KW - directive-based programming
KW - large language models
KW - performance portability
KW - program translation
UR - https://www.scopus.com/pages/publications/105048931783
U2 - 10.1109/IPDPSW71298.2026.00039
DO - 10.1109/IPDPSW71298.2026.00039
M3 - Conference contribution
AN - SCOPUS:105048931783
T3 - Proceedings - 2026 IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2026
SP - 251
EP - 259
BT - Proceedings - 2026 IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2026
PB - Institute of Electrical and Electronics Engineers
T2 - 2026 IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2026
Y2 - 25 May 2026 through 29 May 2026
ER -