summaryrefslogtreecommitdiff
path: root/UNI/baselines/cpu/run.sh
blob: 8bfa629e3520a476c3ec2e2bb6f38722942d04ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

set -e

HOST="$(hostname)"

echo $HOST

(

echo "prim-benchmarks UNI CPU (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"

# default: int64_t; -t 4 -i 1258291200

for nr_threads in 88 64 44 1 2 4 6 8 12 16 20 24 32; do
	# 1258291200 : default
	# 251658240 : strong-full
	# 3932160 : strong-rank
	for i in 1258291200 251658240 3932160; do
		#for dt in int8_t int16_t int32_t int64_t float double; do
		for dt in int64_t; do
			if make -B TYPE=${dt}; then
				timeout --foreground -k 1m 60m ./uni -i ${i} -w 0 -e 50 -t ${nr_threads} || true
				sleep 10
			fi
		done
	done
done
) | tee "${HOST}-explore.txt"