-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I tried to assemble a sensible package of benchmakrks (see run_all.sh).
- Loading branch information
Showing
5 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/bash | ||
bash run_benchmarks_genn.sh Mbody_example.py | ||
bash run_benchmarks_genn.sh COBAHH_linearscaling.py | ||
bash run_benchmarks_genn.sh COBAHH_MON.py | ||
bash run_benchmarks_genn.sh COBAHH_no_synapses.py | ||
bash run_benchmarks_genn.sh COBAHH.py | ||
bash run_benchmarks.sh Mbody_example.py | ||
bash run_benchmarks.sh COBAHH_linearscaling.py | ||
bash run_benchmarks.sh COBAHH_MON.py | ||
bash run_benchmarks.sh COBAHH_no_synapses.py | ||
bash run_benchmarks.sh COBAHH.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,38 @@ | ||
#!/bin/bash -e | ||
|
||
if [ "$1" = "COBAHH_MON.py" ]; then | ||
mon=0.1; | ||
else | ||
mon=""; | ||
fi | ||
|
||
for spikemon in "true"; do | ||
for threads in 1 2 4 8 16; do | ||
for scaling in 0.05 0.1 0.25 0.5 1 2 4 8 16 32; do | ||
time=1; | ||
for repeat in 1 2 3 4 5; do | ||
echo Repeat $repeat | ||
python $1 $scaling cpp_standalone $threads $spikemon true $time | ||
python $1 $scaling cpp_standalone $threads $spikemon true $time $mon | ||
rm -r output | ||
done | ||
done | ||
done | ||
done | ||
|
||
# The really long runs (don't run with GeNN CPU-only, etc.) | ||
for spikemon in "true" "false"; do | ||
for threads in 8 16; do | ||
for scaling in 64 128 256 512; do | ||
time=1; | ||
for repeat in 1 2 3; do | ||
echo Repeat $repeat | ||
python $1 $scaling cpp_standalone $threads $spikemon true $time | ||
rm -r output | ||
# The really long runs (don't run with low # of threads, etc.) | ||
|
||
if [ "$1" = "Mbody_example.py" ]; then | ||
for spikemon in "true"; do | ||
for threads in 8 16; do | ||
for scaling in 64 128 256 512; do | ||
time=1; | ||
for repeat in 1 2 3; do | ||
echo Repeat $repeat | ||
python $1 $scaling cpp_standalone $threads $spikemon true $time $mon | ||
rm -r output | ||
done | ||
done | ||
done | ||
done | ||
done | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,34 @@ | ||
#!/bin/bash -e | ||
|
||
if [ "$1" = "COBAHH_MON.py" ]; then | ||
mon=0.1; | ||
else | ||
mon=""; | ||
fi | ||
|
||
for spikemon in "true"; do | ||
for threads in 0 -1; do | ||
for scaling in 0.05 0.1 0.25 0.5 1 2 4 8 16 32; do | ||
time=1; | ||
for repeat in 1 2 3 4 5; do | ||
echo Repeat $repeat | ||
python $1 $scaling genn $threads $spikemon true $time | ||
python $1 $scaling genn $threads $spikemon true $time $mon | ||
rm -r GeNNworkspace | ||
done | ||
done | ||
done | ||
done | ||
|
||
# The really long runs (don't run with GeNN CPU-only, etc.) | ||
for spikemon in "true"; do | ||
for scaling in 64 128 256 512; do | ||
time=1; | ||
if [ "$1" = "Mbody_example.py" ]; then | ||
for spikemon in "true"; do | ||
for scaling in 64 128 256 512; do | ||
time=1; | ||
for repeat in 1 2 3; do | ||
echo Repeat $repeat | ||
python $1 $scaling genn 0 $spikemon true $time | ||
python $1 $scaling genn 0 $spikemon true $time $mon | ||
rm -r GeNNworkspace | ||
done | ||
done | ||
done | ||
done | ||
fi |