GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
generateCPU.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 //--------------------------------------------------------------------------
20 //--------------------------------------------------------------------------
21 
22 #include "modelSpec.h"
23 
24 #include <string>
25 #include <fstream>
26 
27 using namespace std;
28 
29 
30 //--------------------------------------------------------------------------
34 //--------------------------------------------------------------------------
35 
36 void genNeuronFunction(const NNmodel &model,
37  const string &path
38  );
39 
40 
41 //-------------------------------------------------------------------------
46 //-------------------------------------------------------------------------
47 
49  ostream &os,
50  const NNmodel &model,
51  unsigned int src,
52  unsigned int trg,
53  int i,
54  string &localID,
55  unsigned int inSynNo,
56  const string &postfix
57  );
58 
59 
60 //--------------------------------------------------------------------------
64 //--------------------------------------------------------------------------
65 
66 void genSynapseFunction(const NNmodel &model,
67  const string &path
68  );
void genNeuronFunction(const NNmodel &model, const string &path)
Function that generates the code of the function the will simulate all neurons on the CPU...
Definition: generateCPU.cc:37
Definition: modelSpec.h:85
void generate_process_presynaptic_events_code_CPU(ostream &os, const NNmodel &model, unsigned int src, unsigned int trg, int i, string &localID, unsigned int inSynNo, const string &postfix)
Function for generating the CUDA synapse kernel code that handles presynaptic spikes or spike type ev...
Definition: generateCPU.cc:350
Header file that contains the class (struct) definition of neuronModel for defining a neuron model an...
void genSynapseFunction(const NNmodel &model, const string &path)
Function that generates code that will simulate all synapses of the model on the CPU.
Definition: generateCPU.cc:478