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

Call reset kernel only with as many threads as there are spiking neurons (not as there are neurons in total) #272

Open
denisalevi opened this issue Feb 18, 2022 · 0 comments

Comments

@denisalevi
Copy link
Member

I just saw that we are calling the reset kernel with as many threads as neurons in the population, but only as many threads as there were spikes in the current time step.

Instead, just call the reset kernel with as many threads as there are spikes. For that we need the number of spikes. Which we already need for other kernel invocations and which we should first implement to be copies to host after each thresholder using asynchronous memcpy (see #146).

Once that is implemented, also close #149.

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