WIP: CPU network SoA dual-write (not for merge) - #3822
Draft
nrnhines wants to merge 20 commits into
Draft
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status: Work in progress — do not merge to master
Exploratory stack for CoreNEURON-shaped network data on the NEURON CPU side. Intended as a durable review/reference branch, not a landable feature PR.
Planned follow-on branch (later):
hines-grok/cpu-net-soa-heap-free(or similar), forked from this work after dual-write+sort, to drop long-livedNetCon::weight_under a defined ABI plan.GPU native (later, undetermined order relative to master): spike queue + threshold → net_send buffer on GPU; NET_RECEIVE
net_sendon GPU; ARTIFICIAL_CELLnet_sendstays CPU; distribute via net_receive buffer. Whether heap-free lands on master before that GPU track is undecided.What this PR contains
weight_indexnrn_ensure_model_data_are_sorted(thread packing, weight-block contiguity, fanout rebuild)doc/network-soa/(topology, heap policy, sort) +GROK-NETWORK-SOA.md+doc/network-soa-phase0.mdExplicitly not in this PR
NetCon::weight_(nocmodl still needs long-lived MOD scratch fornet_send(..., _w)/ FOR_NETCONS / INITIAL)Docs for reviewers
Start at
doc/network-soa/README.md.Test plan
ctest -j 8on author machine (post-regression fixes)