Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
**University of Pennsylvania, CIS 565: GPU Programming and Architecture,
Project 1 - Flocking**

* (TODO) YOUR NAME HERE
* (TODO) [LinkedIn](), [personal website](), [twitter](), etc.
* Tested on: (TODO) Windows 22, i7-2222 @ 2.22GHz 22GB, GTX 222 222MB (Moore 2222 Lab)
* Lindsay Smith
* [LinkedIn](https://www.linkedin.com/in/lindsay-j-smith/), [personal website](https://lindsays-portfolio-d6aa5d.webflow.io/)
* Tested on: Windows 10, i7-11800H 144Hz 16GB RAM, GeForce RTX 3060 512GB SSD (Personal Laptop)

### (TODO: Your README)
# Screenshot
![2.1](images/Screenshot1.png)

![](images/BoidsSimulation.gif)

# Questions

### For each implementation, how does changing the number of boids affect performance? Why do you think this is?
For every implementation, the performance gets worse as the number of boids increases. This is because when you have more boids you will also
have more threads running at a time. We will eventually get to a point where there are more threads needed than are possible to run at a time.
The more boids we have the more work our computers are going to have to do to maintain all of them.

### For each implementation, how does changing the block count and block size affect performance? Why do you think this is?
The block count and size do not appear to affect performance significantly. I think this is because the block size and count do not have a
direction relation to the number of threads that are able to run at a time. Although the configuration of the threads may change, the
perfomance is not really impacted because the same number are still able to run in parallel.

### For the coherent uniform grid: did you experience any performance improvements with the more coherent uniform grid? Was this the outcome you expected? Why or why not?
I have not gotten the coherent uniform grid to work yet.

### Did changing cell width and checking 27 vs 8 neighboring cells affect performance? Why or why not?
I don't think that changing the cell width affects the performance because even though there are more cells to check, the distance between them is smaller.
This means each boid will be compared to fewer neighbors in a cell, and the outcome will be relatively similar to as if there were 8 cells being checked.

Include screenshots, analysis, etc. (Remember, this is public, so don't put
anything here that you don't want to share with the world.)
Binary file added images/BoidsSimulation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/BoidsSimulation.mp4
Binary file not shown.
Binary file added images/Screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading