4 ms·
Boosting Java performance using GPGPU [pdf]
- saganus 11y agoThis looks very interesting. Any way we can download some code to test this out or is this still unpublished code?
- jimc39 11y agoThe work we describe here is our research prototype, I'm currently working towards making the code base more stable before open sourcing. The plan is to release the code over the coming months. Feel free to track our progress here - https://github.com/aardvark-systems/tornado https://github.com/aardvark-systems/tornado
- saganus 11y agoGreat! thanks
- sitkack 11y agoThis is a direct comparison of their framework and https://github.com/aparapi/aparapi https://github.com/aparapi/aparapi which you can use now. The JDK is getting support for GPGPU via Truffle/Graal http://www.oracle.com/technetwork/java/jvmls2913wuerth-2013918.pdf http://www.oracle.com/technetwork/java/jvmls2913wuerth-20139...
- fbristow 11y agoHere's another project that's providing GPU access from Java code: https://github.com/pcpratts/rootbeer1 https://github.com/pcpratts/rootbeer1
- nsxwolf 11y agoToo bad it's CUDA and not OpenCL. I wonder what the rationale was. Seems natural to use an open GPGPU framework for a Java application.
- RussianCow 11y agoProbably just because Nvidia cards dominate the market for most GPGPU use cases.
- sp332 11y agoOpenCL is cross-platform, so it would support nvidia, ATI, Intel, CPUs, etc.
- dkersten 11y agoAFAIK only OpenCL 1.1 (or 1.2?) is available on nvidia though, not OpenCL 2.0 or 2.1. So, unfortunately, if you want to support nvidia (eg AWS GPU instances), then OpenCL may not be the best choice :-(
- sp332 11y agoOh, I didn't realize it was that bad. Looks like they barely implemented 1.2 and haven't announced support for 2.x at all. https://en.wikipedia.org/wiki/OpenCL#Timeline_of_vendor_implementations https://en.wikipedia.org/wiki/OpenCL#Timeline_of_vendor_impl...
- sitkack 11y agoIf someone made a decent OpenCL 2.X to PTX compiler I think they would do pretty well.
- fbristow 11y agoThe author explains why here (3 years ago): https://github.com/pcpratts/rootbeer1/issues/2 https://github.com/pcpratts/rootbeer1/issues/2 Not sure that his explanation is accurate, though.