![]() |
GeNN
2.2.3
GPU enhanced Neuronal Networks (GeNN)
|
Global header file containing a few global variables. Part of the code generation section. More...
#include <cuda.h>#include <cuda_runtime.h>#include <string>Go to the source code of this file.
Namespaces | |
| GENN_FLAGS | |
| GENN_PREFERENCES | |
Macros | |
| #define | TRUE true |
| #define | FALSE false |
Variables | |
| unsigned int | GENN_FLAGS::calcSynapseDynamics = 0 |
| unsigned int | GENN_FLAGS::calcSynapses = 1 |
| unsigned int | GENN_FLAGS::learnSynapsesPost = 2 |
| unsigned int | GENN_FLAGS::calcNeurons = 3 |
| int | GENN_PREFERENCES::optimiseBlockSize = 1 |
| Flag for signalling whether or not block size optimisation should be performed. More... | |
| int | GENN_PREFERENCES::autoChooseDevice = 1 |
| Flag to signal whether the GPU device should be chosen automatically. More... | |
| bool | GENN_PREFERENCES::optimizeCode = false |
| Request speed-optimized code, at the expense of floating-point accuracy. More... | |
| bool | GENN_PREFERENCES::debugCode = false |
| Request debug data to be embedded in the generated code. More... | |
| bool | GENN_PREFERENCES::showPtxInfo = false |
| Request that PTX assembler information be displayed for each CUDA kernel during compilation. More... | |
| double | GENN_PREFERENCES::asGoodAsZero = 1e-19 |
| Global variable that is used when detecting close to zero values, for example when setting sparse connectivity from a dense matrix. More... | |
| int | GENN_PREFERENCES::defaultDevice = 0 |
| unsigned int | GENN_PREFERENCES::neuronBlockSize = 32 |
| default GPU device; used to determine which GPU to use if chooseDevice is 0 (off) More... | |
| unsigned int | GENN_PREFERENCES::synapseBlockSize = 32 |
| unsigned int | GENN_PREFERENCES::learningBlockSize = 32 |
| unsigned int | GENN_PREFERENCES::synapseDynamicsBlockSize = 32 |
| unsigned int | GENN_PREFERENCES::autoRefractory = 1 |
| Flag for signalling whether spikes are only reported if thresholdCondition changes from false to true (autoRefractory == 1) or spikes are emitted whenever thresholdCondition is true no matter what.%. More... | |
| std::string | GENN_PREFERENCES::userCxxFlagsWIN = "" |
| Allows users to set specific C++ compiler options they may want to use for all host side code (used for windows platforms) More... | |
| std::string | GENN_PREFERENCES::userCxxFlagsGNU = "" |
| Allows users to set specific C++ compiler options they may want to use for all host side code (used for unix based platforms) More... | |
| std::string | GENN_PREFERENCES::userNvccFlags = "" |
| Allows users to set specific nvcc compiler options they may want to use for all GPU code (identical for windows and unix platforms) More... | |
| int | neuronBlkSz |
| Global variable containing the GPU block size for the neuron kernel. More... | |
| int | synapseBlkSz |
| Global variable containing the GPU block size for the synapse kernel. More... | |
| int | learnBlkSz |
| Global variable containing the GPU block size for the learn kernel. More... | |
| int | synDynBlkSz |
| Global variable containing the GPU block size for the synapse dynamics kernel. More... | |
| cudaDeviceProp * | deviceProp |
| int | theDevice |
| Global variable containing the currently selected CUDA device's number. More... | |
| int | deviceCount |
| Global variable containing the number of CUDA devices on this host. More... | |
| int | hostCount |
| Global variable containing the number of hosts within the local compute cluster. More... | |
Global header file containing a few global variables. Part of the code generation section.
| #define FALSE false |
| #define TRUE true |
| int deviceCount |
Global variable containing the number of CUDA devices on this host.
| cudaDeviceProp* deviceProp |
| int hostCount |
Global variable containing the number of hosts within the local compute cluster.
| int learnBlkSz |
Global variable containing the GPU block size for the learn kernel.
| int neuronBlkSz |
Global variable containing the GPU block size for the neuron kernel.
| int synapseBlkSz |
Global variable containing the GPU block size for the synapse kernel.
| int synDynBlkSz |
Global variable containing the GPU block size for the synapse dynamics kernel.
| int theDevice |
Global variable containing the currently selected CUDA device's number.