HSAIL and Sumatra execution

Eric Caspole eric.caspole at amd.com
Mon Feb 24 08:37:40 PST 2014


Hi Juanjo,
Try adding -G:Log=CodeGen to see the generated HSAIL.

Can you show the lambda that your trying to offload , so we can see if 
it will hit the -Dcom.amd.sumatra.offload.immediate=true offload path?

Otherwise it looks like your setup is correct.
Regards,
Eric





On 02/24/2014 11:28 AM, Juan Jose Fumero wrote:
> 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
>
>



More information about the sumatra-dev mailing list