diff options
author | Jan Huwald <jh@sotun.de> | 2012-05-07 20:01:51 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-05-07 20:01:51 (GMT) |
commit | 420d2ef464d4a741028e132e662d5626806a41f5 (patch) | |
tree | 1aca6eb512e4ed0fb5f3c10c528cb998b6ffd695 /core/simlimits.hpp |
Diffstat (limited to 'core/simlimits.hpp')
-rw-r--r-- | core/simlimits.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/simlimits.hpp b/core/simlimits.hpp new file mode 100644 index 0000000..6680bcd --- /dev/null +++ b/core/simlimits.hpp @@ -0,0 +1,18 @@ +#ifndef q9BbYVk1ebyTzHeB6vbWj8BXsIA +#define q9BbYVk1ebyTzHeB6vbWj8BXsIA + +#include <inttypes.h> + +const uint64_t maxNeurons = 2048; // 2^11 +const uint64_t maxSpikes = 1073741824; // 2^30 +const uint64_t maxRandomSpikes = 1073741824; // 2^30 +const uint64_t maxGlobalMsg = 1073741824; // 2^30 +const uint8_t maxSynapsesPerNeuron = 128; // 2^7 + +const uint64_t maxCheckpoints = 1024; // 2^10 +//const uint64_t maxCheckpoints = 1048576; // 2^20 +const double checkpointInterval = 10.0; + +const uint64_t numActualNeurons = 1000; // all above are abused + +#endif // q9BbYVk1ebyTzHeB6vbWj8BXsIA |