GCC 14 Adds "GFX90C" For OpenMP Offloading To APUs With GFX9/Vega Graphics

Written by Michael Larabel in AMD on 26 April 2024 at 06:48 AM EDT. 16 Comments
AMD
As the last feature patch prior to the GCC 14 compiler code being branched today and GCC 15 opening up on the mainline codebase, AMD GFX90C support was merged for enabling GPU OpenMP device offloading to the numerous AMD SoCs/APUs with the GFX9/Vega graphics.

Frederik Harwath contributed the patch for enabling the AMD GFX90C graphics to be supported alongside the other GFX9 / GFX10 / GFX11 graphics supported by the GNU Compiler Collection. The AMD GCN target within the GCC compiler is geared just for OpenMP device offloading support with the AMDGPU LLVM back-end otherwise what's being commonly used for numerous uses inside and outside of AMD. The AMD GCN back-end for GCC doesn't receive too much attention outside of various external contributors working on OpenMP and OpenACC offloading.

Harwath explained in the newly-merged patch:
"Add support for gfx90c GCN5 APU integrated graphics devices. The LLVM AMDGPU documentation does not list those devices as supported by rocm-amdhsa, but it passes most libgomp offloading tests. Although they are constrainted compared to dGPUs, they might be interesting for learning, experimentation, and testing."

With the GFX90C APU integrated graphics being very common on prior generation Ryzen systems, this could lead to some interesting uses and at least opening the door for more developers to experiment with GCC device offloading.

AMD Ryzen laptop with GFX9 integrated graphics


This GFX90C support was merged just in time for the GCC 14 branching and thus will be part of the GCC 14.1 stable release coming up in a few weeks. GCC 14 on the AMD side also adds the new Zen 5 "znver5" CPU target and the RDNA2 and RDNA3 GPU offloading support.
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