Radeon GCC Back-End Updated For Running Single-Threaded C & Fortran On AMD GPUs
Written by Michael Larabel in GNU on 17 November 2018 at 05:20 AM EST. 2 Comments
GNU --
Back in September Code Sourcery / Mentor Graphics posted the Radeon GCC back-end they have been developing with the cooperation of AMD. This is for allowing the GCC compiler to eventually offload nicely to Radeon GPUs with its different programming languages and supported parallel programming models, particularly with OpenMP and OpenACC in mind. But for now this patch series just works with single-threaded C and Fortran programs. The second version of this port was posted for review.

Hitting the GCC mailing list on Friday was the updated version of this AMD GCN port targeting Tonga/Fiji through Vega graphics hardware. Code Sourcery will post the OpenACC/OpenMP support bits at a later date while for now the code works with single-threaded C/Fortran programs with C++ not yet supported, among other initial shortcomings. For now the AMDGPU LLVM back-end is far more mature in comparison, which is what's currently used by the open-source AMD Linux driver compute and graphics stacks.

The latest version of these patches can be found on the mailing list.

While GCC 9 is embarking on its third stage of development where it's mostly about fixing and documentation, new ports can still land during this stage as long as they don't touch existing code. So we'll see if/what of this Radeon back-end makes it into the GCC 9 compiler release due out in 2019.

This GCC port is also used by Code Sourcery / Mentor Graphics' CodeBench Lite software for GPU offloading.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related GNU News
Popular News This Week