The HSA Foundation has open sourced the following repositories on github

The AMD Sumatra prototype can run using the OKRA interface to the HSAIL simulator.  Similarly,  graal with the new HSAIL backend (under review) can run using this OKRA interface.

The HSAIL simulator and associated OKRA interface are currently limited to Linux.  To build, the simulator with its OKRA interface, follow the directions at https://github.com/HSAFoundation/Okra-Interface-to-HSAIL-Simulator#okra-interface-to-hsail-simulator.  This procedure will build the assembler, simulator and okra interface.   Run the indicated sanity tests on that page to confirm a proper build.