4 ms·
Here's another project that's providing GPU access from Java code: https://github.com/pcpratts/rootbeer1 https://github.com/pcpratts/rootbeer1
by fbristow 11y ago
Here'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.