GeNN  1.1
GPU enhanced Neuronal Networks (GeNN)
 All Classes Files Functions Variables Typedefs Macros Pages
generateCPU.cc File Reference

Functions for generating code that will run the neuron and synapse simulations on the CPU. Part of the code generation section. More...

#include <string>
#include "CodeHelper.cc"

Functions

void genNeuronFunction (NNmodel &model, string &path, ostream &mos)
 Function that generates the code of the function the will simulate all neurons on the CPU. More...
 
void genSynapseFunction (NNmodel &model, string &path, ostream &mos)
 Function that generates code that will simulate all synapses of the model on the CPU. More...
 

Detailed Description

Functions for generating code that will run the neuron and synapse simulations on the CPU. Part of the code generation section.

Function Documentation

void genNeuronFunction ( NNmodel model,
string &  path,
ostream &  mos 
)

Function that generates the code of the function the will simulate all neurons on the CPU.

Parameters
modelModel description
pathoutput stream for code
mosoutput stream for messages
void genSynapseFunction ( NNmodel model,
string &  path,
ostream &  mos 
)

Function that generates code that will simulate all synapses of the model on the CPU.

Parameters
modelModel description
pathPath for code generation
mosoutput stream for messages