Runtime code is currently binary-only, but we are working on releasing source code as well. The runtime binary also includes the "finalizer" (a JIT compiler going from HSAIL to hardware instructions). I expect the runtime source code will go public first (we're aiming for shortly after Beta), with finalizer source code coming later. We may end up separating the runtime and finalizer into different binaries to facilitate this.
The libhsakmt code is AMD-authored and X11-licensed. Sample source code is available at the link below, although IIRC this matches the kernel driver code we are working to get upstream rather than the libhsakmt binary posted on github.
Thanks for catching this - we'll need to update the github repo contents to make libhsakmt licensing more clear. BTW I don't think releasing the code under a GPL license automatically translates to a GPL violation, since the code is AMD-authored.
At your convenience you could email me (first name . last name at amd.com) -- we weren't planning on putting out source code for early releases of userspace code but if it helps a lot with packaging maybe we could revisit that, resources permitting.
We included more detailed license information in the 1.0 release a month or so ago, making it clear that :
- Linux kernel images are licensed under Linus's tweaked GPL v2
- libhsakmt is licensed under X11
- firmware images are licensed under the same binary license we use for firmware files in Alex's repo:
Thanks for catching the ambiguity in earlier releases. Let us know if any issues/questions remain.