We are proud to announce the release of Brian2GeNN, the Brian 2 interface to the GPU-enhanced Neuronal Network (GeNN) simulator. With this interface, a Brian 2 script (as long as it only uses supported features) can benefit from the potential performance benefits of a GPU by adding just two lines to the start of the script:
Brian2GeNN can be installed from the same Anaconda repository channel as Brian itself:
conda install -c brian-team brian2genn
This installation method will also include the GeNN simulator, while an installation from PyPI (via
pip install brian2genn) will require a manual installation of GeNN. See the documentation (http://brian2genn.readthedocs.io) for more details.
Note that in all cases, users need a CUDA-capable NVIDIA GPU and a manual installation of the CUDA SDK.
The actual performance benefits of using a GPU to run the simulation depend strongly on the details of the model but can be significant. With the Brian2GeNN package, we hope to make it as easy as possible for users to try it out for themselves.
In case you run into problems with the installation of the package or with its use, please contact us at email@example.com or open an issue on the Brian2GeNN bug tracker.