HPC (mainly in Java)

I'm looking for a way to use the crunch capabilities for a number of GPUs (with Java, maybe?) In addition to using the multiple cores that are on the target computer. I will work on introducing (currently) the A * algorithm, but in the future I hope to replace it with a genetic algorithm. I watched Project Fortress , but as I build my GUI in JavaFX, I would rather not go too far from the JVM,

Of course, if there is no affordable solution, I will move on to the easiest solution for implementation.

+7
java algorithm hpc fortress
source share
4 answers

Parallel Colt may be of interest.

+3
source share

If you're interested in HPCs with GPUs, you might want to check out jCuda . This provides Java bindings for CUDA, as well as access to CUDA FFT, CUDA BLAS, and CUDA DPP. I have not seen any reports on the effectiveness of this library, so I can not guarantee that it will be very good.

Also, I'm not sure. If you are interested in doing this type of material as an educational exercise, then Java should be good enough, but if you have a serious need for HPC, then you probably want to implement in C and use the native Java interface to communicate with him.

+5
source share

Morten Nobel Jorgensen has a post showing how to create a Mandelbrot set using JOGL - Java bindings for OpenGL

However, if you want to use general calculations, not graphics, then you are after binding Java for OpenCL , from which you can choose JOCL or JOCL or JavaCL .

The Wikipedia page shows how OpenCL can be used to calculate the fast Fourier transform.

+4
source share

Take a look at JPPF , it's a very beautiful and mature open source Java middleware environment

+2
source share

All Articles