3 ms·
The main pages suggests you can take java code and it runs faster if there are gpus present. I like implicit concurrency so looked further. The documentation o
by JonChesterfield 3y ago
The main pages suggests you can take java code and it runs faster if there are gpus present. I like implicit concurrency so looked further.
The documentation on using it suggest there's a parallel annotation which tries to build something, while the main API is at https://tornadovm.readthedocs.io/en/latest/programming.html#kernel-api https://tornadovm.readthedocs.io/en/latest/programming.html#.... That's the traditional clunky kernel interface from opencl et al.
So I think this is roughly exposing the usual GPU programming model, but in Java instead of C++, with some early steps towards openmp/openmp c style concurrency available as well.
Interesting project but not what the marketing page got my hopes up for.
- ckotseli 3y agoTornadoVM has two distinct APIs: 1) Loop-parallel API, and 2) Kernel API. We can use one or the other or both together. The loop parallel API requires only one annotation to be placed to the induction variable of a normal Java loop. The kernel API is the more heavy-handed API for more power users which, as you said, follows similar style to OpenCL and exposes more hardware-specific programming elements to the user.