Reproduce “Fortran High-Level Synthesis: Reducing the barriers to accelerating HPC codes on FPGAs” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Gabriel Rodriguez-Canal, Nick Brown, Tim Dykes, Jessica R. Jones, Utz-Uwe Haus
This research introduces `f++`, a tool that allows direct High-Level Synthesis (HLS) from Fortran code to AMD Xilinx FPGAs, eliminating the need for C/C++ conversion. The approach demonstrates that Fortran HLS is competitive with, and in some cases surpasses, C HLS in performance and resource utilization, making FPGAs more accessible to the Fortran-dominant High-Performance Computing community.
Key insights
- Direct Fortran HLS for AMD Xilinx FPGAs is achievable by integrating existing open-source and proprietary LLVM components through a thin, non-intrusive intermediary layer.
- Subtle differences in LLVM-IR generated by Fortran and C front-ends can significantly influence the HLS tool's optimization capabilities, sometimes leading to superior performance for Fortran in complex optimization scenarios.
- Fortran's native support for N-dimensional arrays offers an advantage for HLS by enabling static offset calculations and array flattening, simplifying code and potentially improving hardware efficiency.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.