![]() |
GeNN
1.1
GPU enhanced Neuronal Networks (GeNN)
|
Global header file containing a few global variables. Part of the code generation section. More...
#include <iostream>#include <cstring>#include <string>#include <sstream>#include <vector>#include <cmath>#include <cuda_runtime.h>#include "toString.h"Go to the source code of this file.
Macros | |
| #define | _GLOBAL_H_ |
| macro for avoiding multiple inclusion during compilation More... | |
Variables | |
| int | neuronBlkSz |
| int | synapseBlkSz |
| int | learnBlkSz |
| cudaDeviceProp * | deviceProp |
| int | theDev |
| int | hostCount |
| Global variable containing the number of hosts within the local compute cluster. More... | |
| int | deviceCount |
| Global variable containing the number of CUDA devices found on this host. More... | |
| int | optimiseBlockSize = 1 |
| Flag for signalling whether or not block size optimisation should be performed. More... | |
| int | UIntSz = sizeof(unsigned int) * 8 |
| size of the unsigned int variable type on the local architecture More... | |
| int | logUIntSz = (int) (logf((float) UIntSz) / logf(2.0f) + 1e-5f) |
| logarithm of the size of the unsigned int variable type on the local architecture More... | |
Global header file containing a few global variables. Part of the code generation section.
This global header file also takes care of including some generally used cuda support header files.
| #define _GLOBAL_H_ |
macro for avoiding multiple inclusion during compilation
| int deviceCount |
Global variable containing the number of CUDA devices found on this host.
| cudaDeviceProp* deviceProp |
| int hostCount |
Global variable containing the number of hosts within the local compute cluster.
| int learnBlkSz |
| int logUIntSz = (int) (logf((float) UIntSz) / logf(2.0f) + 1e-5f) |
logarithm of the size of the unsigned int variable type on the local architecture
| int neuronBlkSz |
| int optimiseBlockSize = 1 |
Flag for signalling whether or not block size optimisation should be performed.
| int synapseBlkSz |
| int theDev |
| int UIntSz = sizeof(unsigned int) * 8 |
size of the unsigned int variable type on the local architecture