GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
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 "generateCPU.h"
#include "global.h"
#include "utils.h"
#include "codeGenUtils.h"
#include "standardGeneratedSections.h"
#include "standardSubstitutions.h"
#include "codeStream.h"
#include <algorithm>
#include <typeinfo>

Functions

void genNeuronFunction (const NNmodel &model, const string &path)
 Function that generates the code of the function the will simulate all neurons on the CPU. More...
 
void genSynapseFunction (const NNmodel &model, const string &path)
 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

◆ genNeuronFunction()

void genNeuronFunction ( const NNmodel model,
const string &  path 
)

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

Parameters
modelModel description
pathPath for code generation

◆ genSynapseFunction()

void genSynapseFunction ( const NNmodel model,
const string &  path 
)

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

Parameters
modelModel description
pathPath for code generation