Spike!  v1.0
A high speed Spiking Neural Network Simulator designed for GPGPUs.
Public Member Functions | Public Attributes
LIFSpikingNeurons Class Reference
Inheritance diagram for LIFSpikingNeurons:
SpikingNeurons Neurons

List of all members.

Public Member Functions

virtual int AddGroup (neuron_parameters_struct *group_params)
virtual void allocate_device_pointers (int maximum_axonal_delay_in_timesteps, bool high_fidelity_spike_storage)
virtual void copy_constants_to_device ()
virtual void update_membrane_potentials (float timestep, float current_time_in_seconds)

Public Attributes

float * membrane_time_constants_tau_m
float * membrane_resistances_R
float * d_membrane_time_constants_tau_m
float * d_membrane_resistances_R
float refractory_period_in_seconds

Member Function Documentation

virtual int LIFSpikingNeurons::AddGroup ( neuron_parameters_struct group_params) [virtual]

Determines the total number of neurons by which the simulation should increase. This is a virtual function to allow polymorphism in the methods of various SpikingNeuron implementations. Allocates memory as necessary for group size and indices storage.

Parameters:
group_paramsA neuron_parameters_struct instance describing a 2D neuron population size.
Returns:
The unique ID for the population which was requested for creation.

Reimplemented from SpikingNeurons.

virtual void LIFSpikingNeurons::allocate_device_pointers ( int  maximum_axonal_delay_in_timesteps,
bool  high_fidelity_spike_storage 
) [virtual]

Exclusively for the allocation of device memory. This class requires allocation of d_current_injections only.

Parameters:
maximum_axonal_delay_in_timestepsThe length (in timesteps) of the largest axonal delay in the simulation. Unused in this class.
high_fidelity_spike_storageA flag determining whether a bit mask based method is used to store spike times of neurons (ensure no spike transmission failure).

Reimplemented from SpikingNeurons.

virtual void LIFSpikingNeurons::copy_constants_to_device ( ) [virtual]

Unused in this class. Allows copying of static data related to neuron dynamics to the device.

Reimplemented from SpikingNeurons.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations