brian2cuda package
Package implementing the CUDA “standalone” Device
and CodeObject
.
Functions
|
Run a simple example simulation to test whether Brian2CUDA is correctly set up. |
_version
module
binomial
module
CUDA implementation of BinomialFunction
codeobject
module
Module implementing the CUDA “standalone” CodeObject
. Brian2CUDA implements
two different code objects. CUDAStandaloneCodeObject
is the standard
implementation, which does not use atomic operations but serialized synaptic
effect application if race conditions are possible.
CUDAStandaloneAtomicsCodeObject
uses atomic operations which allows parallel
effect applications even when race conditions are possible.
Exported members:
CUDAStandaloneCodeObject
, CUDAStandaloneAtomicsCodeObject
Classes
|
CUDA standalone code object which uses atomic operations for parallel execution |
|
CUDA standalone code object |
cuda_generator
module
Exported members:
CUDACodeGenerator
, CUDAAtomicsCodeGenerator
, c_data_type
Classes
|
|
C++ language with CUDA library |
cuda_prefs
module
Preferences that relate to the brian2cuda interface.
Functions
|
device
module
Module implementing the CUDA “standalone” device.
Classes
The |
|
Methods |
Functions
|
Prepare a CodeObject for random number generation (RNG). |
Objects
The |
timedarray
module
CUDA implementation of TimedArray