Skip to content
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

Check if storing the size of synapse groups is necessary? #275

Open
denisalevi opened this issue Mar 1, 2022 · 1 comment
Open

Check if storing the size of synapse groups is necessary? #275

denisalevi opened this issue Mar 1, 2022 · 1 comment

Comments

@denisalevi
Copy link
Member

We are storing the size of synapse groups[1] in our connectivity matrix. We could also compute it from consecutive start indices of synapse groups in the connectivity matrix. Still, both would need two global memory reads, but one would save some memory. Though the saving would be in order of synapse groups and therefore likely negligible compared to the synapses themselves.

I feel like I should have thought of that in the past when trying to optimize for memory. Maybe we need the sizes somewhere else where we don't need the start indices, and hence accessing size with only one memory load is beneficial?

Check where we need synapse group sizes.

[1] synapse groups are all synapses for one (preID, postGroup) - pair

@denisalevi
Copy link
Member Author

Same for bundle groups and bundles (I think we don't store it for bundles?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant