blob: 7c4a179a3b8ce5ee1f3e2d5ecd5f574235ca6e3c (
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
32
33
34
35
36
37
38
39
40
41
42
43
|
#!/bin/bash
set -e
(
echo "prim-benchmarks WRAM microbenchmark (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"
for ndpu in 1 4 8 16; do
for ntask in 1 2 4 8 12 16 20; do
for bl in 4 5 6 7 8 9 10 11; do
for op in streaming strided random; do
if make -B NR_DPUS=$ndpu NR_TASKLETS=$ntask BL=$bl OP=$op; then
bin/host_code -w 0 -e 10 || true
fi
done
done
done
done
echo "Completed at $(date)"
) | tee "log-$(hostname)-wram-only.txt"
(
echo "prim-benchmarks WRAM microbenchmark (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"
for ndpu in 1 4 8 16; do
for ntask in 1 2 4 8 12 16 20; do
for bl in 4 5 6 7 8 9 10 11; do
for op in streaming strided random; do
if make -B NR_DPUS=$ndpu NR_TASKLETS=$ntask BL=$bl OP=$op MEM=MRAM; then
bin/host_code -w 0 -e 10 || true
fi
done
done
done
done
echo "Completed at $(date)"
) | tee "log-$(hostname)-wram-mram.txt"
|