A Methodology for Fine- Grained Parallelism in JavaScript ...
A Methodology for Fine- Grained Parallelism in JavaScript ...
A Methodology for Fine- Grained Parallelism in JavaScript ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Sluice Acceleration<br />
Target a low level representation <strong>for</strong> stream programs<br />
●<br />
●<br />
Stream and Kernel Intermediate Representation (SKIR)<br />
SKIR = LLVM + Kernels + Streams<br />
Code generation:<br />
●<br />
●<br />
●<br />
Typed kernels only, i.e. type-stable + <strong>in</strong>ference<br />
Generate AST from Sluice kernel at runtime<br />
Translate AST to SKIR-C to SKIR<br />
Currently uses programmer annotation:<br />
Var k = new MyKernel(...);<br />
Sluice.toSkir(k, function(err, ret) {<br />
Sluice.Pipel<strong>in</strong>e(..., ret, ...).run();<br />
});