NNody simulation with openCL

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

Published by Heribert Raab

getting stuff done

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s