-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathget_perf_stats.sh
executable file
·50 lines (40 loc) · 1.07 KB
/
get_perf_stats.sh
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
44
45
46
47
48
49
50
#!/bin/bash
CMD=$1
_APP_ARGS=$2
APP_ARGS="${_APP_ARGS:-'--maxEvents 10'}"
FILES="toyDetector_4k toyDetector_5k toyDetector_6k toyDetector_7k toyDetector_8k toyDetector_9k toyDetector_10k"
N_REPETITIONS=10
for FileName in $FILES
do
>&2 echo "Processing file "
>&2 echo $FileName
echo "Processing file $FileName"
for RNum in $(seq 1 $N_REPETITIONS)
do
>&2 echo "Run.." $RNum " with params " "--maxEvents 100 --inputFile data/input/$FileName.csv --numberOfStreams 2"
$CMD --maxEvents 100 --inputFile data/input/$FileName.csv --numberOfStreams 2 2> /dev/null | tail -1 | cut -d' ' -f 5
done
done
# CLUE Heterogeneous {
# cpu,
# intel-gpu,
# nvidia-gpu:
# {
# numberOfStreams,
# numberOfThreads,
# maxEvents,
# fileName
# }
# }
# Params CLI -> Throughput
# CLUE SYCL Standalone {
# intel-gpu, cpu, nvidia-gpu
# numberOfRuns
# fileName
# }
# Params CLI -> n rows * elapsed time
# CLUE Native Standalone {
# cpu, nvidia-gpu
# fileName
# }
# Params CLI -> n rows * elapsed time