hsail gate commands
tom.deneau at amd.com
Mon Dec 16 09:23:55 PST 2013
OK, I see why there is no error when running
mx --vm server unittest hsail
At some point (I don't recall why, maybe at Oracle's request??), we put in some code in KernelTester that if it could not find the okra simulator files would just silently not run the tests (which I guess counts as a pass).
No the hsail simulator is not a java app at all.
The page at https://wiki.openjdk.java.net/display/Sumatra/The+HSAIL+Simulator should describe how to build it and what environment variables to set up to use it...
> -----Original Message-----
> From: Doug Simon [mailto:doug.simon at oracle.com]
> Sent: Monday, December 16, 2013 11:02 AM
> To: Deneau, Tom
> Cc: graal-dev at openjdk.java.net
> Subject: Re: hsail gate commands
> On Dec 16, 2013, at 5:48 PM, Deneau, Tom <tom.deneau at amd.com> wrote:
> > Doug --
> > I see.
> > I don't understand why the tests would run without error if the
> > simulator and associated assembler is missing but...
> What error are you seeing?
> > Is there a way we can get the HSAIL simulator into the gate
> Is it a pure Java app yet? That would certainly make it trivial. In any
> case, I'll defer to Bernhard or Gilles to answer this since they are the
> maintainers of this infrastructure. Can you please send instructions on
> how to install/use/configure the simulator.
> >> -----Original Message-----
> >> From: Doug Simon [mailto:doug.simon at oracle.com]
> >> Sent: Monday, December 16, 2013 10:36 AM
> >> To: Deneau, Tom
> >> Cc: graal-dev at openjdk.java.net
> >> Subject: Re: hsail gate commands
> >> On Dec 16, 2013, at 5:21 PM, Deneau, Tom <tom.deneau at amd.com> wrote:
> >>> Doug --
> >>> I noticed in syncing with the trunk as of last Friday that all of
> >>> our
> >> HSAIL test cases broke. The cause was some imperfect code in our
> >> HSAILAssembler for compare instructions which when presented with an
> >> unordered compare could generate code that would not assemble, and
> >> was easy to fix.
> >>> But I was wondering how this made it past the gate.
> >>> Can you describe what gate commands are used regarding hsail?
> >> We simply run 'mx gate' which will include running all the HSAIL unit
> >> tests.
> >> On my Mac with the latest bits:
> >> $ mx --vm server unittest hsail
> >> executing junit tests now... (107 test classes) JUnit version 4.8
> >> ...........I................I......
> >> Time: 5.525
> >> OK (105 tests)
> >> Keep in mind I (and the gate infrastructure) don't have the HSAIL
> >> simulator.
> >> -Doug
More information about the graal-dev