30356

An MLIR pipeline for offloading Fortran to FPGAs via OpenMP

Gabriel Rodriguez-Canal, David Katz, Nick Brown
EPCC, The University of Edinburgh, Edinburgh, United Kingdom
arXiv:2511.08713 [cs.DC], (11 Nov 2025)

@inproceedings{Rodriguez_Canal_2025,

   series={SC Workshops ’25},

   title={An MLIR pipeline for offloading Fortran to FPGAs via OpenMP},

   url={http://dx.doi.org/10.1145/3731599.3767485},

   DOI={10.1145/3731599.3767485},

   booktitle={Proceedings of the SC ’25 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis},

   publisher={ACM},

   author={Rodriguez-Canal, Gabriel and Katz, David and Brown, Nick},

   year={2025},

   month={nov},

   pages={1096–1103},

   collection={SC Workshops ’25}

}

Download Download (PDF)   View View   Source Source   Source codes Source codes

503

views

With the slowing of Moore’s Law, heterogeneous computing platforms such as Field Programmable Gate Arrays (FPGAs) have gained increasing interest for accelerating HPC workloads. In this work we present, to the best of our knowledge, the first implementation of selective code offloading to FPGAs via the OpenMP target directive within MLIR. Our approach combines the MLIR OpenMP dialect with a High-Level Synthesis (HLS) dialect to provide a portable compilation flow targeting FPGAs. Unlike prior OpenMP FPGA efforts that rely on custom compilers, by contrast we integrate with MLIR and so support any MLIR-compatible front end, demonstrated here with Flang. Building upon a range of existing MLIR building blocks significantly reduces the effort required and demonstrates the composability benefits of the MLIR ecosystem. Our approach supports manual optimisation of offloaded kernels through standard OpenMP directives, and this work establishes a flexible and extensible path for directive-based FPGA acceleration integrated within the MLIR ecosystem.
No votes yet.
Please wait...

You must be logged in to post a comment.

* * *

* * *

HGPU group © 2010-2025 hgpu.org

All rights belong to the respective authors

Contact us: