Clang Gets Basic AMDGPU Toolchain Support

Written by Michael Larabel in LLVM on 18 July 2015 at 09:19 AM EDT. 8 Comments
AMD's Tom Stellard has added a basic AMDGPU toolchain driver to the Clang compiler.

The Clang front-end is now able to target the AMDGPU (formerly known as R600) toolchain with its LLVM back-end that has long been in development. The small commit sets the AMDGPU target, sets the default integrated assembler, and uses lld for linking.

Targeting AMDGPU from Clang would come down to using these switches "-target amdgcn--amdhsa -x assembler -mcpu=kaveri." Of course, there's still more work going on by AMD's team for making the open-source HSA/OpenCL support fully useful to end-users/developers.

The code was pushed with this Git commit and will appear with LLVM/Clang 3.7.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week