N-body realtime simulation made with Processing, JOCL and GPU. Processing or sometimes called proce55ing is the java-based IDE. JOCL is the OpenCL for Java. GPU is a graphics processing unit, which was used for calculations of dynamics of interacting N particles. Machine: Core i7 (2.8GHz)(4cores) + Tesla C1060(1.3GHz)(240cores). The updating time is about 30msec when N is about 100K. I implemented an O(N) algorithm, in which each particle scans other particles inside the tilles of nearest neighbors. A mouse pointer is displayed, as a black disk, in order to demonstrate realtime interactivity. This time, I tried to make partial parallerism of CPU process (drawing particles) and GPU process (dynamics calculations). This partial "overlap" made possible to improve the performance of the simulation. Then I got the better result .
Thank you for your comment.
OK, I will try to keep my music-selection sense (^^)
pftetsuyaGPU 7 months ago