GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
neuronpop Class Reference

#include <OneComp_model.h>

Public Member Functions

 neuronpop ()
 
 ~neuronpop ()
 
void init (unsigned int)
 
void run (float, unsigned int)
 
void getSpikesFromGPU ()
 Method for copying all spikes of the last time step from the GPU. More...
 
void getSpikeNumbersFromGPU ()
 Method for copying the number of spikes in all neuron populations that have occurred during the last time step. More...
 
void output_state (FILE *, unsigned int)
 
void output_spikes (FILE *, unsigned int)
 
void sum_spikes ()
 

Public Attributes

NNmodel model
 
unsigned int sumIzh1
 

Constructor & Destructor Documentation

neuronpop::neuronpop ( )
neuronpop::~neuronpop ( )

Member Function Documentation

void neuronpop::getSpikeNumbersFromGPU ( )

Method for copying the number of spikes in all neuron populations that have occurred during the last time step.

This method is a simple wrapper for the convenience function copySpikeNFromDevice() provided by GeNN.

void neuronpop::getSpikesFromGPU ( )

Method for copying all spikes of the last time step from the GPU.

This is a simple wrapper for the convenience function copySpikesFromDevice() which is provided by GeNN.

void neuronpop::init ( unsigned int  which)
void neuronpop::output_spikes ( FILE *  f,
unsigned int  which 
)
void neuronpop::output_state ( FILE *  f,
unsigned int  which 
)
void neuronpop::run ( float  runtime,
unsigned int  which 
)
void neuronpop::sum_spikes ( )

Member Data Documentation

NNmodel neuronpop::model
unsigned int neuronpop::sumIzh1

The documentation for this class was generated from the following files: