Skip to content

Project 1 - Thomas Shaw#41

Open
printer83mph wants to merge 4 commits into
CIS5650-Fall-2025:mainfrom
printer83mph:main
Open

Project 1 - Thomas Shaw#41
printer83mph wants to merge 4 commits into
CIS5650-Fall-2025:mainfrom
printer83mph:main

Conversation

@printer83mph

@printer83mph printer83mph commented Sep 8, 2025

Copy link
Copy Markdown

Repo link

  • Spent some time debugging indexing issues (classic)
  • Thrust is disliked by clang (should figure this out sometime)
  • Implemented arbitrary-size search area from the start, seemed easier than hard-coding everything

Otherwise went fairly smoothly! Setup steps were the same as project 0 for me.

Note: I joined the class late, and unfortunately couldn't get my setup working until recently. More details on setup can be founnd in CIS5650-Fall-2025/Project0-Getting-Started#52

Squashed commit of the following:

commit 25b26d9254197add5e1f7db57cee87ff4d6b7b5f
Author: Thomas Shaw <printer.83mph@gmail.com>
Date:   Sun Sep 7 14:23:52 2025 -0400

    Add clangd + vscode configuration files
* Format all source code

* Rename cuda C header file

* Implement kernUpdateVelocityBruteForce

* Implement velocity change utility
* Add allocation and deallocation for part 2 buffers

* chore: add note

* Implement kernComputeIndices

* Implement kernIdentifyCellStartEnd

* chore: add mini gridIndex1Dto3D method

* Implement untested kernUpdateVelNeighborSearchScattered

* patch: rework bounds for iteration, use inverse for division

* Fix velocity calculations

* Implement stepSimulationScatteredGrid

* Implement kernUpdateVelNeighborSearchCoherent

* Add coherent grid step logic, cleanup old thrust stuff
* Add my info to README

* Add showcase gif and extra credit info

* patch: free all allocated cuda memory

* Add kernel timing with changing boid count graph

* Add changing block size chart

* Add link to Google Sheets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant