N-Body simulation on GPU

Discussion created by enot on Jan 17, 2011
Latest reply on Jan 18, 2011 by enot
GPU performance analyzing in WebGL

My simple WebGL (OpenGL ES) simulation for N=1024,...8192


is rather fast on Radeon HD 4870 (10^9 interactions per second) but about 10 times slower than other (OpenGL, Brook, Cuda based) realizations. Is it possible to detect the bottleneck in this 10kb script? E.g. WebGL realization or too direct algorithm. I'm collecting my "WebGL and simulations on GPU" notes at