GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
MBody_userdef_project/model/classol_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 //--------------------------------------------------------------------------
19 //--------------------------------------------------------------------------
20 
21 #include <cassert>
22 using namespace std;
23 
24 #include "hr_time.h"
25 #include "utils.h" // for CHECK_CUDA_ERRORS
26 #include "stringUtils.h"
27 
28 #ifndef CPU_ONLY
29 #include <cuda_runtime.h>
30 #endif
31 
32 #include "MBody_userdef.cc"
33 
34 #define MYRAND(Y,X) Y = Y * 1103515245 +12345; X= (Y >> 16);
35 
36 // we will hard-code some stuff ... because at the end of the day that is
37 // what we will do for the CUDA version
38 
39 #define PATTERNNO 100
41 
42 //----------------------------------------------------------------------
43 // other stuff:
44 #define T_REPORT_TME 10000.0
45 #define SYN_OUT_TME 20000.0
46 
48 // reset input every 100 steps == 50ms
49 #define PAT_TIME 100.0
50 
51 // pattern goes off at 2 steps == 1 ms
52 #define PATFTIME 1.5
53 
55 
56 #define TOTAL_TME 5000.0
57 
59 
60 #include "map_classol.cc"
Definition: hr_time.h:39
int patFireTime
Definition: MBody_userdef_project/model/classol_sim.h:54
int patSetTime
Definition: MBody_userdef_project/model/classol_sim.h:47
CStopWatch timer
Definition: MBody_userdef_project/model/classol_sim.h:58
This file contains standard utility functions provide within the NVIDIA CUDA software development too...
This header file contains the definition of the CStopWatch class that implements a simple timing tool...
This file contains the model definition of the mushroom body model. tis used in the GeNN code generat...
Implementation of the classol class.
scalar InputBaseRate
Definition: MBody_userdef_project/model/classol_sim.h:40
#define scalar
Definition: HHVClampParameters.h:4