Is it possible to use Xeon Phi using JVM-based language such as Scala? Is there any example?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With