nest / nest-gpu

NEST GPU
https://nest-gpu.readthedocs.io
GNU General Public License v2.0
19 stars 12 forks source link

Use ring version of spike buffer as default (bash scripts for switching) #10

Closed golosio closed 2 years ago

golosio commented 2 years ago

Added bash scripts to switch the source code from ring version to static index version and vice versa.

terhorstd commented 2 years ago

You may be interested to have a look at the NEST cmake files. There are a number of configuration variables that switch behavior and algorithms, and a similar solution may be useful also here. Big plus argument for using cmake options is the unmodified source code and seamless integration with packaging. The configure options are just translated to #define-like preprocessing variables with a short cmake block, see for example the NEST_PROCESS_WITH_DETAILED_TIMERS option.

jhnnsnk commented 2 years ago

Thanks @terhorstd. The conversion of the build process to cmake is ongoing, see #22. In this particular case, we have now just decided to remove second option completely from the source files and leave only its heritage in the git history.