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