Skip to content

[issue-873] Templated Event Buffer#876

Merged
NicolasJPosey merged 7 commits intoSharedDevelopmentfrom
issue-873-TemplatedEventBuffer
Jan 30, 2026
Merged

[issue-873] Templated Event Buffer#876
NicolasJPosey merged 7 commits intoSharedDevelopmentfrom
issue-873-TemplatedEventBuffer

Conversation

@NicolasJPosey
Copy link
Contributor

@NicolasJPosey NicolasJPosey commented Aug 10, 2025

Closes #873 #870

Description

  • Upgraded EventBuffer to be a templated class so that it could be used with other types.
  • Cleaned up redundant overrides in EventBuffer .
  • Added getters, setters, and a couple of methods overrides like size in EventBuffer and data in RecordableVector so that the friend coupling to neuro classes in EventBuffer could be removed.

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

This involved moving the EventBuffer.cpp information into the header file and updating previous usages to use uint64_t type which was the old default. Also cleaned up redudent overrides and added getters and setters to the EventBuffer so that it's friendship with neuro classes could be removed.
@NicolasJPosey NicolasJPosey self-assigned this Aug 10, 2025
@NicolasJPosey NicolasJPosey added cleanup refactor doesn't change functionality, just improves code labels Aug 10, 2025
@NicolasJPosey NicolasJPosey changed the title Upgrade EventBuffer to be a templated class [issue-873] Templated Event Buffer Aug 10, 2025
@NicolasJPosey NicolasJPosey requested a review from stiber August 10, 2025 05:30
Copy link
Contributor

@stiber stiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor stuff. Let me know if this is essential for this summer's release; otherwise, we will hold it back from SharedDevelopment until the CPU compilation hotfix gets merged into the release.

@NicolasJPosey
Copy link
Contributor Author

@stiber this PR is not essential for this summer's release. I can use the DoubleEventBuffer implementation until this makes it into SharedDevelopment then update the 911 GPU code to use the templated version once SharedDevelopment is merged in.

@NicolasJPosey NicolasJPosey requested a review from stiber August 12, 2025 18:09
@NicolasJPosey NicolasJPosey requested review from stiber and removed request for stiber January 29, 2026 03:32
@NicolasJPosey
Copy link
Contributor Author

NicolasJPosey commented Jan 29, 2026

@stiber I pulled SharedDevelopment into this branch and reran the unit/regression tests. Everything looks good and is passing. I had resolved the requested changes so I don't know why GitHub isn't just in a pending review state, but this PR is ready for your re-review.

@NicolasJPosey NicolasJPosey merged commit 6e252a5 into SharedDevelopment Jan 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup refactor doesn't change functionality, just improves code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants