Epiphany support in Graal

Michał Warecki michal.warecki at gmail.com
Fri Aug 2 01:56:31 PDT 2013


Hi all!

I just want to make sure that Graal is the correct project to start with.
I'd like to create bytecode to Epiphany architecture asm compiler.

Epiphany is a multicore RISC based architecture [1] that aims to be an
accelerator (not the host CPU) unit. Epiphany architecture is used in
Parallella computer (ARM is the host CPU) [2].

What I want to achieve is to compile and send to epiphany only part of a
Java program to be processed in a parallel way. Probably I will try to
integrate it with Sumarta project.

Example use case:

Streams.intRange(0, in.length).parallel().forEach( id -> {c[id]=a[id]+b[id];});

// c[id]=a[id]+b[id];     -> This code will be executed on Epiphany. "id"
is the identifier of a core.


Is Graal the correct project to implement such bytecode to epiphany asm
compiler? I am inexperienced in this area... Any ideas about this?

Best,
Michał


[1] http://www.adapteva.com/introduction/
http://www.adapteva.com/wp-content/uploads/2012/10/epiphany_arch_reference_3.12.10.03.pdf

[2] http://www.parallella.org/


More information about the graal-dev mailing list