File: experimental-cuda.txt

package info (click to toggle)
brian 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 23,436 kB
  • sloc: python: 68,707; cpp: 29,040; ansic: 5,182; sh: 111; makefile: 61
file content (17 lines) | stat: -rw-r--r-- 793 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. currentmodule:: brian.experimental.cuda

GPU/CUDA
========

Brian has some experimental support for doing numerical integration only using
GPUs, using the `PyCUDA package <http://mathema.tician.de/software/pycuda>`__.

Note that only numerical integration is done on the GPU, which means that
variables that can be altered on the CPU (via synapses or user operations) need
to be copied to and from the GPU each time step, as well as variables that are
used for thresholding and reset operations. This creates a memory bandwidth
bottleneck, which means that for the moment the GPU code is only useful for
complicated neuron models such as Hodgkin-Huxley type neurons (although in this
case it can lead to very substantial speed improvements).

.. autoclass:: GPUNeuronGroup