Metraipolis › archive › dc_68ef479f3374
Validation-Centric AI-Assisted GPU Porting of a 250,000+ Line Legacy Weather Simulation Code — arXiv:2608.13122
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.13122
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T04:24:47.411Z
- SHA-256 of the archived text
d24ccbf70ffe831a89fff3b3c89ee0f60b04657e9b0738ade8c2c219ee794765- Stable URL of this page
https://metraipolis.com/documento/dc_68ef479f3374
How to cite
Validation-Centric AI-Assisted GPU Porting of a 250,000+ Line Legacy Weather Simulation Code — arXiv:2608.13122 — arXiv (en), https://arxiv.org/abs/2608.13122 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_68ef479f3374 (Metraipolis archive dc_68ef479f3374, sha256 d24ccbf70ffe831a89fff3b3c89ee0f60b04657e9b0738ade8c2c219ee794765)
BibTeX
@misc{dc68ef479f3374,
title = {Validation-Centric AI-Assisted GPU Porting of a 250,000+ Line Legacy Weather Simulation Code — arXiv:2608.13122},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.13122},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_68ef479f3374; sha256 d24ccbf70ffe831a89fff3b3c89ee0f60b04657e9b0738ade8c2c219ee794765},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.13122. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Recent advances in large language models have made CLI-based AI agents a practical tool for accelerating GPU porting of large legacy scientific applications. Such applications, however, are not merely old code bases; they are scientific assets whose credibility has been accumulated through long-term development, comparison with observations, and use in domain studies. GPU porting must therefore preserve this scientific validity while adapting the implementation to GPU-centric HPC systems. This paper presents a validation-centric AI-assisted GPU porting workflow through a case study of CReSS, a legacy Fortran weather simulation code with more than 250,000 lines. The workflow uses an AI agent to extract OpenMP regions, generate dump-based kernel benchmarks from physically meaningful simulation states, apply OpenACC transformations, and validate results through element-wise comparison with dumped reference data and application-level validation. Using a real typhoon simulation, the workflow produced numerically validated GPU implementations for 162 target kernels and achieved a 5.1x application-level speedup within practical wall-clock development cost. In particular, it detected numerical discrepancies in five kernels caused by floating-point and intrinsic-function differences, including threshold-sensitive branch divergence and cancellation effects, enabling feedback to the application developers. The case study suggests that, for large legacy scientific applications requiring dump-based validation, practical AI-assisted GPU porting must manage session-spanning context, runtime-state reconstruction, and costly recovery from small static-analysis omissions. These findings demonstrate that AI-assisted GPU porting requires not only code generation, but validation-centric workflow design. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-14 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2608.13122 — 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-19T04:17:59.926Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-08-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).