Delay implementation kernel cleanup #3412
Labels
I: Internal API
Changes were introduced in basic internal workings of the simulator that developers need to know
I: User Interface
Users may need to change their code due to changes in function calls
S: Normal
Handle this with default priority
T: Maintenance
Work to keep up the quality of the code and documentation.
PR #2989 adds axonal delays to NEST, but still leaves some open ToDos for a follow-up PR. Such a follow-up PR should clean up existing suboptimal design choices made in NEST a long time ago, which were made even more pronounced by PR #2989. This includes:
Furthermore, PR #2989 only adds axonal delay support to a single synapse (
stdp_pl_synapse_hom_ax_delay
) and neuron model (iaf_psc_alpha
) so far. Most other plastic synapse models could also benefit from axonal delays, but not all users will actually require them. To provide the best possible performance for each of both cases, there should be different implementations for each case. This can be done elegantly by still using the same base synapse model implementation for both total-delay and axonal-dendritic-delay containers (which represent the both cases, seedelay_types.h
) and optimize only parts the code (e.g. send function) using compile-time directives (e.g. if constexpr or overloading the send function based on delay implementation).The text was updated successfully, but these errors were encountered: