HSAIL Simulator open sourced
christian.thalinger at oracle.com
Tue Jul 9 11:15:53 PDT 2013
On Jul 9, 2013, at 2:18 AM, Doug Simon <doug.simon at oracle.com> wrote:
> I've managed to build the simulator and use it to run all the Graal HSAIL tests. It was relatively straight-forward - nice work!
> I have one minor request. Is it possible to have the simulator be configurable to be less verbose? Most of the existing Graal unit tests don't (or shouldn't) produce output on the console (apart from that generated by Junit itself). It would be great if the simulator could be made to do the same somehow.
> And I have one major request. Can you port the simulator to Java? ;-) This would greatly simplify integrating it into the gate tests.
That is a very good point. Having a simulator written in Java for all GPU architectures we support would be a major help to keep the compilers up and running and not break anything. We've seen how bit-rot can easily happen with things like the Zero or Shark ports.
> On Jul 2, 2013, at 12:52 AM, "Deneau, Tom" <tom.deneau at amd.com> wrote:
>> I am pleased to announce that the HSA Foundation has open sourced the
>> following projects:
>> * libHSAIL (tools for parsing, assembling and disassembling HSAIL)
>> * an HSAIL Instruction Set Simulator
>> * OKRA interface to the HSAIL Simulator
>> The following wiki page goes into detail of how to build the simulator
>> and describes some tests that can be run against it, including tests that
>> use the graal HSAIL backend patch which is currently under review.
>> -- Tom Deneau, AMD
More information about the graal-dev