C++ AMP: N-Body Simulation Sample

My name is Bharath, I am an SDET on the C++ AMP team.

I worked on the NBody demo and wanted to share this project with you. You may have seen our PM (Daniel Moth) demonstrate at AMD Fusion Developer Summit and at Microsoft Build Conference (for the NBody demo watch - 0:03:00 through 0:08:00).

I ported the source code from the Microsoft DirectX SDK sample (you can download full DirectX SDK). You can get more information on nbody simulation on Wikipedia.

You can download the project with all sources from the zip file attached to this blog post. Refer to the README.txt for known issues. To build this project you need Visual Studio 11.

In later posts, I will walk you through this code and explain the different implementations used in this demo. Stay tuned.

 

NBody.zip