AMD GCN3 / Fiji Support Being Retired From The GCC Compiler
([GNU] 84 Minutes Ago
GCN3)
- Reference: 0001489260
- News link: https://www.phoronix.com/news/AMD-GCN3-Fiji-GCC-Removal
- Source link:
The AMD GCN3 (GFX8) support and in particular the Fiji GPU support is being retired from the GNU Compiler Collection (GCC). The Fiji GPU support in the GCC compiler was already deprecated in part due to the LLVM compiler having already removed Fiji support months ago and the AMD ROCm compute driver having broken GCN3 / Fiji support for years.
Andrew Stubbs of Bay Libre explained of the Fiji GPU support removal in patches [1]posted today:
The gfx803 "Fiji" device was deprecated in GCC 14, removed from LLVM 18, and hasn't worked properly with the drivers since about ROCm 4.
This patch removes the device from GCC options and documentation, and removes the direct mentions from the internals.
The TARGET_GCN3 support in the back-end is now unused and can be removed (in a follow-up patch).
Without the ROCm driver support working for these aging GPUs, there isn't much left use in keeping the GCC back-end bits in place. The AMDGCN GCC support is primarily geared for OpenMP and OpenACC device offloading to AMD GPUs. It was only in GCC 10 back in 2020 that [2]Radeon OpenMP/OpenACC offloading was introduced with initial Fiji and Vega targets.
The [3]other patch goes on to remove all the remaining AMD GCN 3rd generation code since besides Fiji there was no other GCN3 support in GCC:
The only GCN3 ISA device was remove (Fiji, gfx803) so all the GCN3-specific code and features can be removed from the back-end.
This removal will be found with the GCC 15 compiler releasing in the early months of 2025.
[1] https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662039.html
[2] https://www.phoronix.com/news/GCC-10.1-Compiler-Released
[3] https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662038.html
Andrew Stubbs of Bay Libre explained of the Fiji GPU support removal in patches [1]posted today:
The gfx803 "Fiji" device was deprecated in GCC 14, removed from LLVM 18, and hasn't worked properly with the drivers since about ROCm 4.
This patch removes the device from GCC options and documentation, and removes the direct mentions from the internals.
The TARGET_GCN3 support in the back-end is now unused and can be removed (in a follow-up patch).
Without the ROCm driver support working for these aging GPUs, there isn't much left use in keeping the GCC back-end bits in place. The AMDGCN GCC support is primarily geared for OpenMP and OpenACC device offloading to AMD GPUs. It was only in GCC 10 back in 2020 that [2]Radeon OpenMP/OpenACC offloading was introduced with initial Fiji and Vega targets.
The [3]other patch goes on to remove all the remaining AMD GCN 3rd generation code since besides Fiji there was no other GCN3 support in GCC:
The only GCN3 ISA device was remove (Fiji, gfx803) so all the GCN3-specific code and features can be removed from the back-end.
This removal will be found with the GCC 15 compiler releasing in the early months of 2025.
[1] https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662039.html
[2] https://www.phoronix.com/news/GCC-10.1-Compiler-Released
[3] https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662038.html
phoronix