AMD's HSA Run-Time Library Is Now Open-Source

Written by Michael Larabel in AMD on 13 November 2014 at 05:58 PM EST. 41 Comments
Last week we reported on AMD's plans for a complete user-space open-source HSA stack. Today they have finally delivered!

The last remaining component,. the HSA run-time library was open-sourced this afternoon on GitHub. This HSA library goes with the AMD GPU LLVM back-end to form a complete user-space open-source driver stack for HSA applications using kernels written using OpenCL C99. This code goes along with AMD's new "AMDKFD" kernel HSA driver that's still in the process of being mainlined. The AMDKFD driver could potentially appear in the Linux 3.19 kernel but probably won't be merged before Linux 3.20 if going through the DRM subsystem pull.

AMD also open-sourced a basic matric multiplication OpenCL application ported to HSA for demonstrating their compiler stack that will work on AMD Kaveri hardware.

More details can be found in the just-posted kernel development list announcement that HSA RT is now Open Source. The HSA runtime library source code can be found on GitHub.
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