hsail gate commands

Deneau, Tom tom.deneau at amd.com
Wed Jan 8 15:17:45 PST 2014


Another thing that fell thru the cracks.

The fix for the problem mentioned below was made locally here but never pushed back to trunk.
As a result, trunk still does not pass our hsail junit tests.

The tiny webrev http://cr.openjdk.java.net/~tdeneau/graal-webrevs/webrev-int-compare-cannot-be-unordered/webrev/ should take care of this.

It would still be great if there would be some way to incorporate the hsail simulator into the gate...

-- Tom


> -----Original Message-----
> From: graal-dev-bounces at openjdk.java.net [mailto:graal-dev-
> bounces at openjdk.java.net] On Behalf Of Deneau, Tom
> Sent: Monday, December 16, 2013 11:24 AM
> To: Doug Simon
> Cc: graal-dev at openjdk.java.net
> Subject: RE: hsail gate commands
> 
> 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...
> 
> -- Tom
> 
> 
> 
> 
> > -----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
> > infrastructure?
> >
> > 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.
> >
> > -Doug
> >
> >
> > >> -----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 mailing list