HSAIL and Sumatra execution
Deneau, Tom
tom.deneau at amd.com
Mon Feb 24 08:38:24 PST 2014
Juan --
You need to use the server vm, not the graal vm, so remove the -graal option
-- 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: Monday, February 24, 2014 10:28 AM
> To: sumatra-dev at openjdk.java.net
> Subject: HSAIL and Sumatra execution
>
> Hi,
>
> I am working with Stream API and Sumatra Graal components. I would like
> to run my benchmarks in this way [1], instead of using mx.py script.
>
> [1]
> $ /home/juanjo/graaljdk8ocl/jdk1.8.0-internal/product/bin/java -graal
> -Dcom.amd.sumatra.offload.immediate=true
> -XX:-BootstrapGraal
> -ea
> -Xmx6g
> -XX:+TraceGPUInteraction
> com.edinburgh.stream.ocl.test.Test01
>
>
>
> But it seems the HSAIL trace is not enabled. I mean the application runs
> but not with HSAIL. I expect the trace messages of HSAIL. If I run
> sumatra.sh (Sumatra patch for Graal) the example works.
>
> [HSAIL] library is libokra_x86_64.so
> [HSAIL] using
> _OKRA_SIM_LIB_PATH_=/tmp/okraresource.dir_2931145074414679027/libokra_x8
> 6_64.so
> [GPU] registered initialization of Okra (total initialized: 1) ...
>
>
> I guess I need some extra options to run
>
>
> Many thanks
> Juanjo
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
More information about the sumatra-dev
mailing list