brian-team / brian2cuda

A brian2 extension to simulate spiking neural networks on GPUs
https://brian2cuda.readthedocs.io/
GNU General Public License v3.0
60 stars 12 forks source link

further optimizations for spatialstateupdater #137

Open moritzaugustin opened 6 years ago

moritzaugustin commented 6 years ago

parallelize the tridiagonal system's solution for the cable equation using existing cyclic reduction code or similar algorithms: https://code.google.com/archive/p/tridiagonalsolvers/source/default/source

moritzaugustin commented 6 years ago

alternative optimization would be to use an explicit time discretization avoiding the need of solving the linear systems in each timestep. however: we would need a very small timestep particularly for many compartments in a not very large branch (cf. also https://en.wikipedia.org/wiki/Courant%E2%80%93Friedrichs%E2%80%93Lewy_condition)

moritzaugustin commented 6 years ago

and potentially also the coupling system could be parallelized though not using a standard parallel tridiagonal solvers such as cyclic reduction but rather exploiting the specific graph structure in the hines (coupling) matrix