4 ms·
I wonder if it'd be feasible to make a Java VM that runs on nothing but a GPU, without any assistance of the CPU except for bootstrapping the system.
by rbanffy 7y ago
I wonder if it'd be feasible to make a Java VM that runs on nothing but a GPU, without any assistance of the CPU except for bootstrapping the system.
- kotselidis 7y agoIt is not possible to run the entire VM due to lack of OS support for some features required. However, even you could run all of it, it would not yield the best performance due to control flow divergence. We did some preliminary work on executing some parts of the interpreter on a GPU this year: https://github.com/jjfumero/jjfumero.github.io/blob/master/files/JuanFumero-MoreVMs2020-Preprint.pdf https://github.com/jjfumero/jjfumero.github.io/blob/master/f...
- rbanffy 7y agoThe only way something like this would work would be the OS treating the heterogeneous compute resources as "first-class citizens" and part of the normal OS scheduling and resource management. I don't think any production OS today does that. And just after I write it, an article on AMD's work on ROCm pops up. Exciting times.