Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Xeon Phi with JVM-based language

Is it possible to use Xeon Phi using JVM-based language such as Scala? Is there any example?

like image 327
Kokizzu Avatar asked Jun 25 '13 23:06

Kokizzu


Video Answer


2 Answers

It is not officially supported, however, you can still build JVM on your own.

I have built JamVM with GNU Classpath and slightly modified version of libffi. You can also try with zero-assembler version of HotSpot. As a result, you can get extremely slow virtual machine - even using 60 threads it was more than 10 times slower than my quad core mobile i7 CPU. On the other hand, it is a great opportunity to test scalability of Java implementations that run on tens of threads simultaneously.

Another idea is to use Aparapi tool - parts of Java bytecode are translated into OpenCL and executed on Phi.

like image 156
Artur Malinowski Avatar answered Oct 21 '22 18:10

Artur Malinowski


According to their FAQ there is not yet support for Java:

http://software.intel.com/en-us/articles/intelr-xeon-phitm-coprocessor-february-developer-webinar-qa-responses

Q: Is there a Java option for coding? A: Not yet.

like image 22
user561749 Avatar answered Oct 21 '22 16:10

user561749