Radeon GCN Compiler Back-End Might Still Be Merged For GCC 9

Written by Michael Larabel in GNU on 8 January 2019 at 12:24 PM EST. Add A Comment
GNU
The AMD Radeon "GCN" compiler back-end to the GCC open-source code compiler might still be merged ahead of the GCC 9 stable release due out in April.

Over the past year CodeSourcery / Mentor Graphics has been working on the AMD GCN back-end to GCC so that OpenMP/OpenACC code-bases can run on the latest Radeon/FirePro GPUs using this common C/C++ compiler. While right now there is just the "AMDGPU" LLVM compiler back-end, this work would finally open up OpenACC/OpenMP GPU offloading for the GCC compiler with recent Radeon graphics cards.

In recent months they have revised their patches in hopes of getting the new GPU target approved for adding to GCC 9, the next annual release for the GNU Compiler Collection.

While GCC 9 is now under its final stage of development focused on just regression fixes and documentation updates, this Radeon GCN back-end will still be permitted to land.

Longtime GCC developer Richard Biener confirmed that it's still permitted for landing during this final stage of development once receiving approval on the new code. This is allowed since it's just new code being introduced and doesn't risk regressing existing targets. Though at this stage it just looks to be the AMD GCN code itself and not the needed changes to OpenMP/OpenACC offloading, which would then need to wait for next year's GCC 10.

For those wanting GCC-based Radeon compiler support right now, Mentor's CodeBench Lite supports GPU offloading and is based on the same code as what's being worked on for upstreaming.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week