forked from cdsc-github/parade-ara-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate.mcpat.xml.sh
executable file
·32 lines (30 loc) · 1.08 KB
/
generate.mcpat.xml.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
################################################################################################################
#Command to parse the stats and config to mcpat.xml
#Common configurations in the script
PREFIX=$1
VERSION=$2
BASE_DIR=./parade-${PREFIX}-${VERSION}/
MCPAT_TEMPLATE=mcpat-parade.xml
BENCHS=(
###Medical Imaging(MI) benchmarks##############
'Deblur_Modified'
'Denoise'
'Registration_Modified'
'Segmentation'
###CoMmercial(CM) benchmarks###################
'BlackScholes'
'StreamCluster'
'Swaptions'
###computer VISion(VIS) benchmarks#############
'LPCIP_Desc'
'Texture_Synthesis'
###NAVigation(NAV) benchmarks##################
'Robot_Localization'
'Disparity_Map'
'EKF_SLAM'
)
for bench in ${BENCHS[@]}; do
BENCH_DIR=${BASE_DIR}/${PREFIX}_${bench}/
echo "perl mcpat-script/m5-mcpat.pl ${BENCH_DIR}/stats.txt ${BENCH_DIR}/config.ini mcpat-script/${MCPAT_TEMPLATE} > ${BENCH_DIR}/mcpat.xml"
perl mcpat-script/m5-mcpat.pl ${BENCH_DIR}/stats.txt ${BENCH_DIR}/config.ini mcpat-script/${MCPAT_TEMPLATE} > ${BENCH_DIR}/mcpat.xml
done