GeNN  1.1
GPU enhanced Neuronal Networks (GeNN)
 All Classes Files Functions Variables Typedefs Macros Pages
classIzh Class Reference

#include <Izh_sparse_model.h>

Public Member Functions

 classIzh ()
 
 ~classIzh ()
 
void init (unsigned int)
 
void allocate_device_mem_patterns ()
 
void allocate_device_mem_input ()
 
void copy_device_mem_input ()
 
void read_sparsesyns_par (int, struct Conductance, FILE *, FILE *, FILE *)
 
void gen_alltoall_syns (float *, unsigned int, unsigned int, float)
 
void free_device_mem ()
 
void write_input_to_file (FILE *)
 
void read_input_values (FILE *)
 
void create_input_values ()
 
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 output_params (FILE *, FILE *)
 
void sum_spikes ()
 
void setInput (unsigned int)
 
void randomizeVar (float *, float, unsigned int)
 
void randomizeVarSq (float *, float, unsigned int)
 
void initializeAllVars (unsigned int)
 

Public Attributes

NNmodel model
 
float * input1
 
float * input2
 
float * d_input1
 
float * d_input2
 
unsigned int sumPExc
 
unsigned int sumPInh
 

Constructor & Destructor Documentation

classIzh::classIzh ( )
classIzh::~classIzh ( )

Member Function Documentation

void classIzh::allocate_device_mem_input ( )
void classIzh::allocate_device_mem_patterns ( )
void classIzh::copy_device_mem_input ( )
void classIzh::create_input_values ( )
void classIzh::free_device_mem ( )
void classIzh::gen_alltoall_syns ( float *  g,
unsigned int  nPre,
unsigned int  nPost,
float  gscale 
)
Parameters
gscaleGenerate random conductivity values for an all to all network
void classIzh::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 classIzh::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 classIzh::init ( unsigned int  which)
void classIzh::initializeAllVars ( unsigned int  which)
void classIzh::output_params ( FILE *  f,
FILE *  f2 
)
void classIzh::output_spikes ( FILE *  f,
unsigned int  which 
)
void classIzh::output_state ( FILE *  f,
unsigned int  which 
)
void classIzh::randomizeVar ( float *  Var,
float  strength,
unsigned int  neuronGrp 
)
void classIzh::randomizeVarSq ( float *  Var,
float  strength,
unsigned int  neuronGrp 
)
void classIzh::read_input_values ( FILE *  )
void classIzh::read_sparsesyns_par ( int  synInd,
struct Conductance  C,
FILE *  f_ind,
FILE *  f_indInG,
FILE *  f_g 
)
Parameters
f_gFile handle for a file containing sparse conductivity values
void classIzh::run ( float  runtime,
unsigned int  which 
)
void classIzh::setInput ( unsigned int  which)
void classIzh::sum_spikes ( )
void classIzh::write_input_to_file ( FILE *  f)

Member Data Documentation

float* classIzh::d_input1
float * classIzh::d_input2
float* classIzh::input1
float * classIzh::input2
NNmodel classIzh::model
unsigned int classIzh::sumPExc
unsigned int classIzh::sumPInh

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