GeNN  1.1
GPU enhanced Neuronal Networks (GeNN)
 All Classes Files Functions Variables Typedefs Macros Pages
PoissonIzh_sim.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------
2  Author: Thomas Nowotny
3 
4  Institute: Institute for Nonlinear Dynamics
5  University of California San Diego
6  La Jolla, CA 92093-0402
7 
8  email to: tnowotny@ucsd.edu
9 
10  initial version: 2002-09-26
11 
12 --------------------------------------------------------------------------*/
13 
14 using namespace std;
15 
16 #include <cassert>
17 #include "hr_time.cpp"
18 
19 #include "utils.h" // for CHECK_CUDA_ERRORS
20 #include <cuda_runtime.h>
21 
22 
23 #define RAND(Y,X) Y = Y * 1103515245 +12345;X= (unsigned int)(Y >> 16) & 32767
24 #define INJECTCURRENT 0
25 
26 // we will hard-code some stuff ... because at the end of the day that is
27 // what we will do for the CUDA version
28 
29 #define DBG_SIZE 1000
30 #define INJECTCURRENT 0 //define
31 
32 // and some global variables
33 float t= 0.0f;
34 unsigned int iT= 0;
35 
36 #define PATTERNNO 100
37 #define INPUTBASERATE 17
38 //----------------------------------------------------------------------
39 // other stuff:
40 #define T_REPORT_TME 1000.0
41 #define SYN_OUT_TME 2000.0
42 
44 // reset input every 100 steps == 50ms
45 #define PAT_TIME 100.0
46 // pattern goes off at 2 steps == 1 ms
47 #define PATFTIME 1.0
48 
50 
51 #define TOTAL_TME 5000
52 
54 
55 #include "PoissonIzh-model.h"
56 #include "PoissonIzh-model.cc"
Definition: hr_time.h:40
unsigned int iT
Definition: PoissonIzh_sim.h:34
This file contains standard utility functions provide within the NVIDIA CUDA software development too...
int patSetTime
Definition: PoissonIzh_sim.h:43
int patFireTime
Definition: PoissonIzh_sim.h:49
This file contains the implementation of the CStopWatch class that provides a simple timing tool base...
CStopWatch timer
Definition: PoissonIzh_sim.h:53
float t
Definition: PoissonIzh_sim.h:33