1
edit
Changes
no edit summary
If I was to parallelize this code using CUDA, I would put the ResetForce and AddForce function calls into their own thread on the GPU. Therefore, instead of computing all the forces sequentially, they all get computed at once.
====Neil's Profiling Findings====
The program I found is an n-body simulation using a brute force algorithm. It essentially does an n-body simulation of O(n^2) efficiency and displays the visual output onto the screen. For testing purposes-as well as for compatibility issues-I disabled the visual output and redirected the graphics library<ref>y</ref> to text mode).
=== Assignment 2 ===
=== Assignment 3 ===
=== Resources ===
<references/>