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

Smarter fusing of pre and postsynaptic models #470

Open
neworderofjamie opened this issue Oct 25, 2021 · 0 comments · Fixed by #595
Open

Smarter fusing of pre and postsynaptic models #470

neworderofjamie opened this issue Oct 25, 2021 · 0 comments · Fixed by #595
Milestone

Comments

@neworderofjamie
Copy link
Contributor

neworderofjamie commented Oct 25, 2021

#461 fused pre and postsynaptic weight update model code in the neuron kernel if the whole weight update model is identical but, in some models you have multiple learning rules which have the same pre or postsynaptic update e.g. various rules used in eProp models have this presynaptic update:

pre_var_name_types=[("ZFilter", "scalar")],
pre_spike_code="""
$(ZFilter) += 1.0;
""",
pre_dynamics_code="""
$(ZFilter) *= $(Alpha);
""",

But, currently, won't be fused as other parts of the model differ.

@neworderofjamie neworderofjamie added this to the GeNN 5.0.0 milestone Aug 8, 2023
neworderofjamie added a commit that referenced this issue Aug 8, 2023
@neworderofjamie neworderofjamie linked a pull request Oct 27, 2023 that will close this issue
@neworderofjamie neworderofjamie modified the milestones: GeNN 5.0.0, GeNN 5.X Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant