|
Spike!
v1.0
A high speed Spiking Neural Network Simulator designed for GPGPUs.
|
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 |
| 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.
| group_params | A neuron_parameters_struct instance describing a 2D neuron population size. |
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.
| maximum_axonal_delay_in_timesteps | The length (in timesteps) of the largest axonal delay in the simulation. Unused in this class. |
| high_fidelity_spike_storage | A 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 GeneratorInputSpikingNeurons::reset_neuron_activities | ( | ) | [virtual] |
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.
| virtual void GeneratorInputSpikingNeurons::set_threads_per_block_and_blocks_per_grid | ( | int | threads | ) | [virtual] |
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.
1.7.6.1