HSAIL and Sumatra execution

Juan Jose Fumero juan.fumero at ed.ac.uk
Mon Feb 24 08:28:26 PST 2014


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_x86_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