Java Dual GPU programming using APARAPI. Calculating star movement in a galaxy.

preview_player
Показать описание
This simulation was created using the Aparapi library for Java which allows GPU programming. The calculations are done using Newton's laws and are in no way accurate. The purpose is to demonstrate the functionality of the library.

The graphs on the right display the actual GPU statistics. The OSD in the simulation window only displays GPU utilization for rendering of the video, NOT utilization for the calculations.

The GPUs used are 2x Nvidia GeForce GTX650 Ti Boost
Рекомендации по теме
Комментарии
Автор

Very nice. I've written a similar simulation in Java:
My simulation only runs on the CPU, in my case a hyperthreaded i7 quad core, using seven threads for the n-body calculation and one for the graphics.
I would be interested in how the whole thing with aparapi works in order to also make use of the GPU.

ProjectPhysX
welcome to shbcf.ru