-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use SOA format for mechanism data #2027
Use SOA format for mechanism data #2027
Conversation
3f121e0
to
b51f37f
Compare
ac0450f
to
88cf7b6
Compare
Codecov Report
@@ Coverage Diff @@
## master #2027 +/- ##
==========================================
+ Coverage 58.77% 60.15% +1.38%
==========================================
Files 623 642 +19
Lines 119597 121134 +1537
==========================================
+ Hits 70288 72872 +2584
+ Misses 49309 48262 -1047
... and 9 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
d41678e
to
63e20bc
Compare
a4e9fac
to
ce1bade
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
73e3340
to
cd03677
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
7ded4ab
to
4ac4e2b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
380e7c3
to
2b44298
Compare
✔️ 2b44298 -> Azure artifacts URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This comment has been minimized.
This comment has been minimized.
✔️ e23d8d8 -> Azure artifacts URL |
These data were already in SoA format, but bringing them into the ecosystem introduced in #2027 removes the final usage of some old pointer-updating logic, which in any case required contortions in Python scripts to get things to work. This can be removed because the new data_handle<T> component can now handle referring to i_membrane_ values. To enable this, add support to neuron::container::soa<...> for fields that can be toggled active/inactive at runtime, and add new tests covering this. Also drop set_area and set_v for uniformity.
Introduce new SOA data structures for NEURON model data. So far:
are migrated to use the new
neuron::container::soa<...>
format.Status:
Dependencies:
param
, Compatibility with new data structures. ModelDBRepository/106891#4_p=X
in VERBATIM blocks that needed to be fixed, plus assumptions about the layout of DatumNode
,Prop
andSection
are visible:This builds on #1929 (which was not merged) and incorporates ideas from https://github.com/neuronsimulator/data-structure-design.