brian-team/brian2cuda

A brian2 extension to simulate spiking neural networks on GPUs

69
/ 100
Established

Generates C++/CUDA kernels from Python-based Brian2 neuron models, enabling transparent GPU acceleration without rewriting simulation code. Uses standalone code generation to compile optimized CUDA binaries at runtime, supporting arbitrary neuron dynamics and synaptic plasticity rules. Integrates seamlessly into the Brian2 ecosystem—users enable GPU execution with a single `set_device()` call while maintaining full compatibility with Brian2's equation-based neural modeling syntax.

Available on PyPI.

Maintenance 10 / 25
Adoption 15 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

69

Forks

18

Language

Python

License

GPL-3.0

Last pushed

Jan 21, 2026

Monthly downloads

666

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/brian-team/brian2cuda"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.