Best approach for GPGPU/CUDA/OpenCL in Java?
- by Frederik
General-purpose computing on graphics processing units (GPGPU) is a very attractive concept to harness the power of the GPU for any kind of computing.
I'd love to use GPGPU for image processing, particles, and fast geometric operations.
Right now, it seems the two contenders in this space are CUDA and OpenCL. I'd like to know:
Is OpenCL usable yet from Java on Windows/Mac?
What are the libraries ways to interface to OpenCL/CUDA?
Is using JNA directly an option?
Am I forgetting something?
Any real-world experience/examples/war stories are appreciated.