Spike!  v1.0
A high speed Spiking Neural Network Simulator designed for GPGPUs.
Public Member Functions | Public Attributes
GeneratorInputSpikingNeurons Class Reference
Inheritance diagram for GeneratorInputSpikingNeurons:
InputSpikingNeurons 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 reset_neuron_activities ()
virtual void set_threads_per_block_and_blocks_per_grid (int threads)
virtual void check_for_neuron_spikes (float current_time_in_seconds, float timestep)
virtual void update_membrane_potentials (float timestep, float current_time_in_seconds)
void AddStimulus (int spikenumber, int *ids, float *spiketimes)

Public Attributes

int length_of_longest_stimulus
int * number_of_spikes_in_stimuli
float * temporal_lengths_of_stimuli
int ** neuron_id_matrix_for_stimuli
float ** spike_times_matrix_for_stimuli
int * d_neuron_ids_for_stimulus
float * d_spike_times_for_stimulus

Member Function Documentation

virtual int GeneratorInputSpikingNeurons::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 InputSpikingNeurons.

virtual void GeneratorInputSpikingNeurons::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.

Resets any undesired device based data which is dynamically reassigned during a simulation. In this case, the current to be injected at the next time step.

Reimplemented from SpikingNeurons.

A local, non-polymorphic function called in to determine the CUDA Device thread (Neurons::threads_per_block) and block dimensions (Neurons::number_of_neuron_blocks_per_grid).

Reimplemented from Neurons.


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