summaryrefslogtreecommitdiff
path: root/GEMV/run-paper-weak.sh
blob: 0632e711e3559a4ed9071579529c9df2fe344819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -e

(

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

# 256 and 512 are not part of upstream config space
for nr_dpus in 512 256 1 4 16 64; do
	for nr_tasklets in 1 2 4 8 16; do
		echo
		if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10 verbose=1; then
			i=$(( nr_dpus * 1024 ))
			timeout --foreground -k 1m 30m bin/gemv_host -w 1 -e 100 -m $i -n 2048 || true
		fi
	done
done
) | tee log-paper-weak.txt