GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
MBody1_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 
23 #include "MBody1.cc"
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 
33 #define MYRAND(Y,X) Y = Y * 1103515245 +12345; X= (Y >> 16);
34 
35 // we will hard-code some stuff ... because at the end of the day that is
36 // what we will do for the CUDA version
37 
38 #define PATTERNNO 100
40 //----------------------------------------------------------------------
41 // other stuff:
42 #define T_REPORT_TME 10000.0
43 #define SYN_OUT_TME 20000.0
44 
46 // reset input every 100 steps == 50ms
47 #define PAT_TIME 100.0
48 
49 // pattern goes off at 2 steps == 1 ms
50 #define PATFTIME 1.5
51 
53 
54 #define TOTAL_TME 5000.0
55 
57 
58 #include "map_classol.cc"
CStopWatch timer
Definition: MBody1_project/model/classol_sim.h:56
Definition: hr_time.h:39
This file contains the model definition of the mushroom body "MBody1" model. It is used in both the G...
int patSetTime
Definition: MBody1_project/model/classol_sim.h:45
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...
int patFireTime
Definition: MBody1_project/model/classol_sim.h:52
Implementation of the classol class.
scalar InputBaseRate
Definition: MBody1_project/model/classol_sim.h:39
#define scalar
Definition: HHVClampParameters.h:4