AMD HSA Support Merged Into GCC Trunk
Written by Michael Larabel in AMD on 19 January 2016 at 07:16 AM EST. 2 Comments
AMD --
The AMD Heterogeneous System Architecture (HSA) code has been mainlined within the GCC compiler!

A few days ago the latest patches were published and today the work, which was done by SUSE under contract with AMD, is now in the mainline GCC code-base.

As mentioned in that earlier article, The patches provide an HSA libgomp plug-in for run-time with hooking into GCC's OpenMP library, an HSA register allocator, and the necessary changes for providing HSA offload support. New GCC options relating to HSA are: --with-hsa-runtime, --with-hsa-runtime-include, --with-hsa-runtime-lib and --with-hsa-kmt-lib. Besides a supported compiler, you also need to be using a recent kernel that's equipped with the AMDKFD driver and on your system have the new HSAKMT library.

The work landed this morning and now makes it another nice feature for the upcoming GCC 6 release.
Related News
About The Author
Author picture

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 or contacted via

Popular News This Week