netcon enhancement
Posted: Fri Dec 02, 2016 7:40 pm
Hello,
Im updating some old neuron code to speed it up by parallelizing it. The code simulates a network of IAF neurons and uses pointers to pass variables pertaining to synaptic state between neurons. While porting the code, I've had to do away with the pointers and move to the netcon/NET_RECEIVE framework. As a consequence, only spikes are reported to post-synaptic neurons, with all other synaptic computations having to occur at the post-synaptic neuron. Whereas earlier, synaptic computations that were common to a pre-synaptic neuron, including short-term synaptic plasticity, NMDA dynamics, etc were computed once pre-synaptically and disseminated with pointers, now they are duplicated at each post-synaptic neuron significantly offsetting the benefits of the parallelization.
Short of using gap-junctions (spiking is sparse in our networks), is there anyway to append information to the spike messages that gets delivered via the netcon? I only want to send the pre-syaptically computed values when spikes occur, so the communication does not have to add overhead. If such a facility is not immediately available, could the netcon object be easily altered to allow this? Any "pointers" will be sincerely appreciated!
Thanks.
Vishwa
Im updating some old neuron code to speed it up by parallelizing it. The code simulates a network of IAF neurons and uses pointers to pass variables pertaining to synaptic state between neurons. While porting the code, I've had to do away with the pointers and move to the netcon/NET_RECEIVE framework. As a consequence, only spikes are reported to post-synaptic neurons, with all other synaptic computations having to occur at the post-synaptic neuron. Whereas earlier, synaptic computations that were common to a pre-synaptic neuron, including short-term synaptic plasticity, NMDA dynamics, etc were computed once pre-synaptically and disseminated with pointers, now they are duplicated at each post-synaptic neuron significantly offsetting the benefits of the parallelization.
Short of using gap-junctions (spiking is sparse in our networks), is there anyway to append information to the spike messages that gets delivered via the netcon? I only want to send the pre-syaptically computed values when spikes occur, so the communication does not have to add overhead. If such a facility is not immediately available, could the netcon object be easily altered to allow this? Any "pointers" will be sincerely appreciated!
Thanks.
Vishwa