-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsdvbs.sh
More file actions
executable file
·64 lines (58 loc) · 2.19 KB
/
sdvbs.sh
File metadata and controls
executable file
·64 lines (58 loc) · 2.19 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh
# rm -f /tmp/job_scheduler.*
Benchmark=sdvbs.disparity
# Benchmark=sdvbs.localization
# Benchmark=sdvbs.mser
# Benchmark=sdvbs.multi_ncut
# Benchmark=sdvbs.sift
# Benchmark=sdvbs.stitch
# Benchmark=sdvbs.svm
# Benchmark=sdvbs.texture_synthesis
# Benchmark=sdvbs.tracking
# Benchmark=sdvbs.disparity,sdvbs.localization,sdvbs.mser,sdvbs.multi_ncut,sdvbs.sift,sdvbs.stitch,sdvbs.svm,sdvbs.texture_synthesis,sdvbs.tracking
SimInput=fullhd
# python Driver.py -b $Benchmark --build
# python Driver.py -b $Benchmark --profile
# python Driver.py -b $Benchmark --simpoint --simpoint-mode=region -j 10
SimTrace='--fake-trace --simpoint-mode=region'
# SimTrace='--fake-trace'
python Driver.py -b $Benchmark $SimTrace --trace
python Driver.py -b $Benchmark $SimTrace -t valid.ex -d
RubyConfig=8x8c
sim_replay_prefix=replay/ruby/single
i4=$sim_replay_prefix/i4.tlb.${RubyConfig}
o4=$sim_replay_prefix/o4.tlb.${RubyConfig}
o8=$sim_replay_prefix/o8.tlb.${RubyConfig}
sim_replay=$o8,$o8.bingo-l2pf
# sim_replay=$o8
# sim_replay=$o8.bingo-l2pf
python Driver.py -b $Benchmark $SimTrace -t valid.ex --sim-input-size $SimInput \
--sim-configs $sim_replay -s -j 24 &
# --trace-id 0
StreamTransform=stream/ex/static/so.store
python Driver.py -b $Benchmark $SimTrace -t $StreamTransform -d
# --trace-id 0
# --transform-debug StaticIndVarStream
run_ssp () {
local bench=$1
local trans=$2
local rubyc=$3
local input=$4
local threads=$5
local parallel=$6
local i4=stream/ruby/single/i4.tlb.$rubyc.c
local o4=stream/ruby/single/o4.tlb.$rubyc.c-gb-fifo
local o8=stream/ruby/single/o8.tlb.$rubyc.c-gb-fifo
local o8_link=stream/ruby/single/o8.tlb.$rubyc-link.c
# local all_sim=${o8_link}-gb-fifo.flts-mc
local all_sim=$o8
python Driver.py -b $bench $SimTrace -t $trans --sim-configs $all_sim --sim-input-size $input --input-threads $threads \
-s -j $parallel &
# --trace-id 4
# --gem5-debug ISAStreamEngine,StreamEngine,StreamBase,StreamElement --gem5-debug-start 21215020550 | tee tracking.log
# --gem5-debug RubyStreamLife | tee bfs.log &
}
RubyConfig=8x8c
Threads=1
Parallel=24
run_ssp $Benchmark $StreamTransform $RubyConfig $SimInput $Threads $Parallel