GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
generateKernels.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 // The CPU_ONLY version does not need any of this
31 #ifndef CPU_ONLY
32 
33 
34 //-------------------------------------------------------------------------
40 //-------------------------------------------------------------------------
41 
42 void genNeuronKernel(const NNmodel &model,
43  const string &path);
44 
45 
46 //-------------------------------------------------------------------------
54 //-------------------------------------------------------------------------
55 
56 void genSynapseKernel(const NNmodel &model,
57  const string &path,
58  int localHostID);
59 
60 #endif // CPU_ONLY
Definition: modelSpec.h:132
void genNeuronKernel(const NNmodel &model, const string &path)
Function for generating the CUDA kernel that simulates all neurons in the model.
Definition: generateKernels.cc:436
void genSynapseKernel(const NNmodel &model, const string &path, int localHostID)
Function for generating a CUDA kernel for simulating all synapses.
Definition: generateKernels.cc:833
Header file that contains the class (struct) definition of neuronModel for defining a neuron model an...