GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
generateRunner.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------
2  Author: Thomas Nowotny
3 
4  Institute: Center for Computational Neuroscience and Robotics
5  University of Sussex
6  Falmer, Brighton BN1 9QJ, UK
7 
8  email to: T.Nowotny@sussex.ac.uk
9 
10  initial version: 2010-02-07
11 
12  --------------------------------------------------------------------------*/
13 
14 //-----------------------------------------------------------------------
21 //--------------------------------------------------------------------------
22 
23 #include "modelSpec.h"
24 
25 #include <string>
26 #include <fstream>
27 
28 using namespace std;
29 
30 
31 //--------------------------------------------------------------------------
42 //--------------------------------------------------------------------------
43 void genDefinitions(const NNmodel &model,
44  const string &path,
45  int localHostID);
46 
47 void genRunner(const NNmodel &model,
48  const string &path,
49  int localHostID);
50 
51 void genSupportCode(const NNmodel &model,
52  const string &path);
53 
54 //----------------------------------------------------------------------------
60 //----------------------------------------------------------------------------
61 
62 #ifndef CPU_ONLY
63 void genRunnerGPU(const NNmodel &model,
64  const string &path,
65  int localHostID);
66 #endif // CPU_ONLY
67 
68 
69 //----------------------------------------------------------------------------
73 //----------------------------------------------------------------------------
74 void genMSBuild(const NNmodel &model,
75  const string &path);
76 
77 
78 //----------------------------------------------------------------------------
82 //----------------------------------------------------------------------------
83 
84 void genMakefile(const NNmodel &model,
85  const string &path);
void genRunnerGPU(const NNmodel &model, const string &path, int localHostID)
A function to generate the code that simulates the model on the GPU.
Definition: generateRunner.cc:2125
void genRunner(const NNmodel &model, const string &path, int localHostID)
ID of local host.
Definition: generateRunner.cc:1170
Definition: modelSpec.h:132
void genMSBuild(const NNmodel &model, const string &path)
A function that generates an MSBuild script for all generated GeNN code.
Definition: generateRunner.cc:3020
void genDefinitions(const NNmodel &model, const string &path, int localHostID)
A function that generates predominantly host-side code.
Definition: generateRunner.cc:446
void genSupportCode(const NNmodel &model, const string &path)
Path for code generationn.
Definition: generateRunner.cc:1095
Header file that contains the class (struct) definition of neuronModel for defining a neuron model an...
void genMakefile(const NNmodel &model, const string &path)
A function that generates the Makefile for all generated GeNN code.
Definition: generateRunner.cc:3071