an N-Body simulation which calculates a gravity field and corresponding velocity and acceleration contributions accumulated by each body in the system from every other body. Shows how to mitigate computation between all available devices including CPU and GPU devices, as well as a hybrid combination of both, using separate threads for each simulator.
the setup in Houdini : 120.000 stars simulated with the openCL wrangle in a Solver. the graphic card on my macbook RX420 GPU is about 25 faster then NBody in C/Vex on the I7 CPU
realtime nbody on my macbook with 40.000 stars