Skip to content

Conversation

@NicolasJPosey
Copy link
Contributor

Closes #745 #785

Description

Merge includes two PRs. PR 777 which moved the vertex integration logic that lived in the Edges class into the Vertices class and PR 789 which cleaned up neuro-specific references in the GPU and CPU models.

Checklist (Mandatory for new features)

  • Added Documentation
  • Added Unit Tests

Testing (Mandatory for all changes)

  • GPU Test: test-medium-connected.xml Passed
  • GPU Test: test-large-long.xml Passed

NicolasJPosey and others added 3 commits February 3, 2025 15:32
* Refactor model class to generalize the summation logic method and move implementation into neuron class

* Implement new AllVertices method in 911 class

* Fix last compile errors

* Clean up commented out code

* Resolve code format failure

* Remove dynamic cast of vertices so model with work with non-neuron models

* Add override keyword to integrateVertexInputs declaration

* Fix formatting issue
* Rename edge index map device variable name

* Rename method names to remove neuro context

* Rename variables both in method signature and implementation

* Fix formatting

* Remove neuro from GPU model and generalize what we can

* Remove summation point operation as it's now done in the neuro vertices base class

* Revert formatting that breaks code style

* Clean up comments, variable names, and includes

* Move edge sum index into all spiking synapses and rename neuro GPU methods in both edges and vertices

* Fix style violation

* Make corresponding updates to documentation

* Re add serialize method to documentation

* Fix const representation

* Add All911Edges to connections documentation

* Update diagram images
@NicolasJPosey NicolasJPosey added GPU cleanup refactor doesn't change functionality, just improves code labels Feb 18, 2025
@NicolasJPosey NicolasJPosey self-assigned this Feb 18, 2025
@NicolasJPosey NicolasJPosey changed the title Posey development Merge Posey development into SharedDevelopment Feb 18, 2025
@NicolasJPosey NicolasJPosey changed the title Merge Posey development into SharedDevelopment Merge PoseyDevelopment into SharedDevelopment Feb 18, 2025
@NicolasJPosey NicolasJPosey requested a review from stiber February 18, 2025 06:12
@NicolasJPosey
Copy link
Contributor Author

@stiber this PR is to merge my PoseyDevelopment branch into SharedDevelopment. This will merge PRs 777 and 789 into SharedDevelopment. Per the above commits, it is now up-to-date with SharedDevelopment. I took a quick look through the file changes and it looks like it only contains the changes from the two PRs so should be a quick review. I ran both the CPU and GPU tests which all passed.

@stiber
Copy link
Contributor

stiber commented Feb 19, 2025

OK, one thing we learn from this exercise is that git/GitHub doesn't track previously approved changes, so everything shows up here under "files changed". I think, given all of the changes have bee previously reviewed, the thing to examine here is that:

  • SharedDevelopment has been merged into the personal dev branch, if needed (I think you did that but I don't think that involved any changes, because your dev branch wasn't behind.
  • Look at any post-merge changes needed to fix things that broke as a result of that merge (which isn't applicable here).

So, unless you can think of something else, I think I can approve this without detailed examination.

@NicolasJPosey
Copy link
Contributor Author

@stiber I can't think of anything beyond your two points. I did a sanity check and confirmed that for at least one of the files that I changed, a change made to that same file that was in SharedDevelopment and not my branch was successfully merged in. So I think because there was no merge conflicts that needed to be resolved, the file changes post-merge are just the new changes that I am introducing to SharedDevelopment.

@NicolasJPosey NicolasJPosey merged commit 212fb1d into SharedDevelopment Feb 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup GPU refactor doesn't change functionality, just improves code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants