diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-25 10:24:36 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-25 10:24:36 +0200 |
commit | 1aad3d349b0bdd2e7eae586ec6a7400e8ba9225e (patch) | |
tree | f82dafa7674896f5773e976a9056f79c416dc69e /BFS/baselines/cpu/run.sh | |
parent | b3235ccc79c0783e95c1c5524b8b421d2d048cf7 (diff) |
port BFS CPU baseline to dfatool
Diffstat (limited to 'BFS/baselines/cpu/run.sh')
-rwxr-xr-x | BFS/baselines/cpu/run.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/BFS/baselines/cpu/run.sh b/BFS/baselines/cpu/run.sh new file mode 100755 index 0000000..cbed050 --- /dev/null +++ b/BFS/baselines/cpu/run.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +echo "prim-benchmarks BFS CPU (dfatool edition)" +echo "Started at $(date)" +echo "Revision $(git describe --always)" + +# default threads: 4 + +make +for nr_threads in 1 2 4 6 8 12 16 20 24 32; do + OMP_NUM_THREADS=${nr_threads} timeout -k 1m 30m ./bfs -f ../../data/loc-gowalla_edges.txt || true +done |