summaryrefslogtreecommitdiff
path: root/BFS/baselines/cpu/run.sh
blob: 8d51442008921f2d342e424dbbe6c9a7c871f215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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
	for f in loc-gowalla_edges roadNet-CA; do
		OMP_NUM_THREADS=${nr_threads} timeout -k 1m 30m ./bfs -f ../../data/${f}.txt || true
	done
done