LLVM 11 Merges AMD Radeon GCN Offloading For OpenMP

Written by Michael Larabel in Radeon on 27 May 2020 at 06:40 AM EDT. Add A Comment
RADEON
While AMD has been working on AOMP for Radeon OpenMP offloading as their downstream of the LLVM/Clang compiler suited for GPU compute offloading to their hardware, at least some of that work is beginning to appear back in upstream LLVM.

Merged today into LLVM 11 Git is support for OpenMP offloading for the AMD GCN architecture, including setting of LLVM's CUDA mode. This part 1 patch is just a few dozen lines of code thanks to the AMDGPU back-end long being in upstream LLVM as well as the necessary infrastructure already being there for OpenMP device offload. Great to see this happening and hopefully more of these Radeon GPU compute changes will be hitting the LLVM tree shortly.

This patch does come via AMD's Radeon Open eCosystem team. Hopefully we'll see more of the AOMP changes working their way back upstream in time for the LLVM 11.0 release due out around September.

The recently released GCC 10 compiler also has initial Radeon OpenMP/OpenACC offloading albeit there the functionality is quite restricted and supports just a small subset of GPUs.
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