The GCC 10 Compiler Lands OpenMP / OpenACC Offloading To AMD Radeon GPUs
Written by Michael Larabel in GNU on 17 November 2019 at 03:16 AM EST. 1 Comment
GNU --
A few days ago I wrote about the OpenMP / OpenACC offloading patches for Radeon "GCN" GPUs being posted and seeking inclusion in the GCC 10 compiler that will be released in a few months. Those patches were successfully merged meaning this next annual update to the GNU Compiler Collection will feature initial OpenMP/OpenACC code offloading support to supported AMD GPU targets.

After GCC 9 only had the initial AMD Radeon GCN target in place, GCC 10 in early 2020 will feature the initial offloading support using the modern OpenMP and OpenACC APIs, thanks to the merges this week. The libgomp port and associated bits for the AMD GCN back-end have landed thanks to the work done by Code Sourcery under contract with AMD.

This opens up the offloading support to modern GPUs with the GCC compiler though is primarily for Vega and Polaris with no support in mainline GCC yet for Navi. The GCC 10.1 stable compiler release should be out in Q2'2020.

More details on the current offloading capabilities of the GCC compiler can be found via this Wiki page.

For those looking at GCC-based Radeon GPU offloading support right now, Code Sourcery / Mentor Graphics recently released a new Sourcery CodeBench Lite Edition with their very latest AMD GPU patches.
Related News
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 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 or contacted via MichaelLarabel.com.

Popular News This Week