From 1aad3d349b0bdd2e7eae586ec6a7400e8ba9225e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 May 2023 10:24:36 +0200 Subject: port BFS CPU baseline to dfatool --- BFS/baselines/cpu/run.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 BFS/baselines/cpu/run.sh (limited to 'BFS/baselines/cpu/run.sh') 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 -- cgit v1.2.3