A test game written in JOGL/JAVA showcasing Nvidia CUDA and Java interaction using JCUDA JNI. All particles in the box excluding the ship have their vectors calculated simultaneously ON the GPU for each step forward in time. Time to pull vector data from the GPU to the CPU overshadows any performance benefits given how simple the vector math performed on each CUDA thread is. I'll up the vector math complexity to see where the GPU eclipses the CPU.
Higher quality version.
I would sure like a good example of CUDA/GPU processing vs standard vanilla CPU.
Chrmngblly 11 months ago