Tests

Caspole, Eric Eric.Caspole at amd.com
Wed Mar 5 06:27:24 PST 2014


Hi Juanjo,
I put a webrev at  http://cr.openjdk.java.net/~ecaspole/stream_tests/webrev/

that shows how to make a simple Stream API junit inside of Graal. We don't have any unit tests yet using reduce or other "typical" gpu workloads. 

In order to run this you can use Doug's patch or use the Sumatra JDK at http://hg.openjdk.java.net/sumatra/sumatra-dev/. We were able to publish that last week. It builds the same way as JDK 8.
Regards,
Eric



________________________________________
From: sumatra-dev-bounces at openjdk.java.net [sumatra-dev-bounces at openjdk.java.net] on behalf of Juan Jose Fumero [juan.fumero at ed.ac.uk]
Sent: Friday, February 28, 2014 12:44 PM
To: sumatra-dev at openjdk.java.net
Subject: Re: Tests

Hi Tom,
    The test that I am referring to is BasicSumatraTest.java in
com.oracle.graal.compiler.hsail.test. This is a patch to be applied in
Graal [1]. What I am looking for is more test with the stream API
(Matrix-Vector multiplication, reductions, ... ).

[1]  http://cr.openjdk.java.net/~dnsimon/sumatra-on-graal/

Thanks
Juanjo

On 28/02/14 16:53, Deneau, Tom wrote:
> Juanjo --
>
> Which specific test are you referring to?
>
> -- Tom
>
>> -----Original Message-----
>> From: sumatra-dev-bounces at openjdk.java.net [mailto:sumatra-dev-
>> bounces at openjdk.java.net] On Behalf Of Juan Jose Fumero
>> Sent: Friday, February 28, 2014 5:07 AM
>> To: sumatra-dev at openjdk.java.net
>> Subject: Tests
>>
>> Hi ,
>>      In the package com.oracle.graal.compiler.hsail.test there is a test
>> for Sumatra and Stream API. Are there more tests like this available?
>>
>>     I would like to prepare a set of test for OpenCL using Stream API.
>>
>> Thanks
>> Juanjo
>>
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>
>


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.





More information about the sumatra-dev mailing list