It seems that HSA is getting usable by the first wave of developers, as Kaveri APUs were released, and there exists OKRA library for running HSAIL kernels on Kaveri's GPUs. While it's based on an open source kernel driver - radeon-kfd - the library is unfortunately closed source. Are there plans for making it open source, and - if so - when? Or maybe some other open HSAIL Finalizer for Kaveris is planned?
Announcement
Collapse
No announcement yet.
Open source HSA support?
Collapse
X
-
Originally posted by LEW21 View PostIt seems that HSA is getting usable by the first wave of developers, as Kaveri APUs were released, and there exists OKRA library for running HSAIL kernels on Kaveri's GPUs. While it's based on an open source kernel driver - radeon-kfd - the library is unfortunately closed source. Are there plans for making it open source, and - if so - when? Or maybe some other open HSAIL Finalizer for Kaveris is planned?
OKRA is more of a transitional API wrapping the current HSA RT and finalizer, intended to provide a stable platform while the HSA RT API details are being "finalized" by the HSA Foundation. I believe the plan is to have higher level tools move to the final HSA RT API rather than to open up OKRA.Test signature
-
Any updates on the user-space part? The kernel driver is now part of a released kernel (3.19) but the HSA Runtime appears to still consist only of header files and binary blobs.
Comment
-
thunk : http://cgit.freedesktop.org/~gabbayo/libhsakmt/
runtime : https://github.com/HSAFoundation/HSA...ference-Source
The only part missing now is the HSAIL Finalizer -- that's going to take some more work since it uses a lot of code from our proprietary shader compiler.
In the meantime if you want to exercise the rest of the HSA stack with a fully open toolchain you can write kernel programs in OpenCL C and compile them with the Clang/LLVM/r600 backend, generate a binary and import that into the HSA runtime.
Last edited by bridgman; 09 February 2015, 09:05 PM.Test signature
Comment
Comment