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

Astrocytes example fails in brian2cuda #214

Closed
denisalevi opened this issue Jul 7, 2021 · 3 comments
Closed

Astrocytes example fails in brian2cuda #214

denisalevi opened this issue Jul 7, 2021 · 3 comments
Labels

Comments

@denisalevi
Copy link
Member

When running the brian2 astrocyte example, I get an device-side assert:

code_objects/synapses_pre_codeobject.cu:255: void kernel_synapses_pre_codeobject(int, int, int, int, int, signed int *, int, double *, int, signed int *, int, signed int *): block: [2,0,0], thread: [31,0,0] Assertion `spiking_neuron_idx == eventspace[neurongroup_size]` fai
led.

Could be that the synapses to synapses implementation is not implemented correctly for SynpaticPathway with Synapses source? See brian-team/brian2#1287.

Synapses to synapses support was added in #186, closing issue #133.

@mstimberg
Copy link
Member

I think this can be closed, example_2_gchi_astrocyte.py works on my machine, and all the other astrocyte examples work as well except for example_4_synrel.py which fails with an error related to the number of neurons recorded. The error message refers to #50, but this issue has been about several problems with StateMonitor and is now closed.

Oh, and note that the plotting code for the examples fails for recent matplotlib versions, but that's not Brian2CUDA's fault 😉

@denisalevi
Copy link
Member Author

Great, I can confirm its working now. Thanks!

@denisalevi
Copy link
Member Author

Oh and the StateMonitor is failing because of #201. I will fix that one next.

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

No branches or pull requests

2 participants