Sumatra on i5 cpu

Frost, Gary Gary.Frost at amd.com
Wed Apr 16 15:38:46 UTC 2014


Hi Leszek

Some answers to some of your questions. 

1)When I use cpu without HSA functionality (for example i5) should I use Okra-Interface-to-HSAIL-Simulator?

Yes.  Unless you have a HSA enabled APU you will need to use the HSAIL simulator. 

2)Are there any benefits in performance using Sumatra with Okra-Interface-to-HSAIL-Simulator? I know that I can master new syntax with lambdas, but I'm rather interested in performance. Are there any differences in pure jdk8 and Sumatra build with okra simulator?

You should not expect code executing on the HSAILSimulator to be more performant than code running on a standard Java 8  JVM.   The HSAILSimulator is so that we can check functionality and to help debug our code.

3)What are your expieriences with nvidia graphic card? I have nvidia geforce 660m in my laptop. Can I use it with Sumatra?

I am aware that there is indeed  some work going into the Graal project to support NVidia devices. Sumatra currently uses Graal for code generation, but the current code base for Sumatra does not (for example) dispatch IntStream/ObjectStream lambdas to NVidia hardware as far as I am aware.  Maybe others on the list more familiar with the NVidia progress can comment further here. 
   
4)What for a project Graal is? Is it required to run with Sumatra?
As I hinted above Sumatra uses Graal to generate HSAIL from Java bytecode.  HSAIL is an intermediate form for HSAIL compatible devices.  So Sumatra uses Graal to convert bytecode (at runtime) into HSAIL for execution on either real hardware or on the HSAILSimulator. 

Hope this helps. 

Gary

-----Original Message-----
From: sumatra-dev [mailto:sumatra-dev-bounces at openjdk.java.net] On Behalf Of cmaniak
Sent: Wednesday, April 16, 2014 7:27 AM
To: sumatra-dev at openjdk.java.net
Subject: Sumatra on i5 cpu

Hello,

I'm fascinated with idea of Project Sumatra and want to run it on my laptop with intel i5 cpu.
Please correct me if I'm wrong
1)When I use cpu without HSA functionality (for example i5) should I use Okra-Interface-to-HSAIL-Simulator?
2)Are there any benefits in performance using Sumatra with Okra-Interface-to-HSAIL-Simulator? I know that I can master new syntax with lambdas, but I'm rather interested in performance. Are there any differences in pure jdk8 and Sumatra build with okra simulator?
3)What are your expieriences with nvidia graphic card? I have nvidia geforce 660m in my laptop. Can I use it with Sumatra?
4)What for a project Graal is? Is it required to run with Sumatra?

Regards,
Leszek Korpowski


More information about the sumatra-dev mailing list