AMD Developing Next-Gen Fortran Compiler Based On Flang, Optimized For AMD GPUs
- Reference: 0001505669
- News link: https://www.phoronix.com/news/AMD-Next-Gen-Fortran-Compiler
- Source link:
The AMD Next-Gen Fortran Compiler is a new open-source Fortran compiler focused on OpenMP offloading to AMD GPUs with a direct interface to ROCm and HIP.
This downstream of Flang is focused on AMD GPU offloading and interacting with the ROCm compute stack. This downstream is open-source and tested across various Linux distributions while using the ROCm driver.
This is akin to AMD's [1]AOMP compiler efforts as their LLVM downstream focused on providing the latest OpenMP offload support to AMD GPUs... But at least for now this "next-gen" compiler is being developed via a separate codebase from AOMP.
This also isn't to be confused with AMD's CPU compiler efforts... Over in [2]AOCC land for the AMD Optimizing C/C++ Compiler they have already been shipping a Flang version for Fortran support catered to the AMD Zen-based processors. But with this Next-Gen Fortran Compiler it's on the GPU front. Yes, AMD's multiple downstreams of LLVM for different product families can get a bit confusing and overlapping in some areas.
AMD today published [3]this ROCm blog post outlining their Next-Gen Fortran Compiler. For now at least the GitHub repository being worked on for this new Fortran compiler is under [4]AMD's InfinityHub CI tree .
[1] https://www.phoronix.com/search/AOMP
[2] https://www.phoronix.com/search/AOCC
[3] https://rocm.blogs.amd.com/ecosystems-and-partners/fortran-journey/README.html
[4] https://github.com/amd/InfinityHub-CI/tree/main/fortran
sophisticles