summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleochanj <jbakita@cs.unc.edu>2020-10-23 00:13:06 -0400
committerleochanj <jbakita@cs.unc.edu>2020-10-23 00:13:06 -0400
commitd427b910baffcc330b0b24d87c9b3216f306d0fb (patch)
treeef312bc5757860a03673316be421c1624a5bb6b7
parentb839934c04b214c9bdab399628ee2b94a65bcd10 (diff)
parenta7c3210215bd1181ae93b23c313941dfb44519fb (diff)
merged
-rw-r--r--.gitignore19
-rw-r--r--.gitmodules6
-rw-r--r--SD-VBS/benchmarks/disparity/src/c/script_disparity.c18
-rw-r--r--SD-VBS/benchmarks/localization/src/c/script_localization.c20
-rw-r--r--SD-VBS/benchmarks/mser/src/c/script_mser.c15
-rw-r--r--SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c10
-rw-r--r--SD-VBS/benchmarks/sift/src/c/script_sift.c9
-rw-r--r--SD-VBS/benchmarks/stitch/src/c/script_stitch.c11
-rw-r--r--SD-VBS/benchmarks/svm/src/c/script_svm.c23
-rw-r--r--SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c8
-rw-r--r--SD-VBS/benchmarks/tracking/src/c/script_tracking.c17
-rw-r--r--SD-VBS/common/makefiles/Makefile.common14
l---------SD-VBS/disparity_qcif1
l---------SD-VBS/localization_qcif1
l---------SD-VBS/mser_qcif1
l---------SD-VBS/multi_ncut_qcif1
-rw-r--r--SD-VBS/sd-vbsNames.txt9
l---------SD-VBS/sift_qcif1
l---------SD-VBS/stitch_qcif1
l---------SD-VBS/svm_qcif1
l---------SD-VBS/texture_synthesis_qcif1
l---------SD-VBS/tracking_qcif1
-rw-r--r--all_pairs/Makefile10
-rwxr-xr-xall_pairs/run_all_pairs.sh168
-rwxr-xr-xall_pairs/run_all_pairs_L3_ONLY.sh170
-rw-r--r--all_pairs/source/anagram/anagram.c6
-rw-r--r--all_pairs/source/anagram/anagram_stdlib.c2
-rw-r--r--all_pairs/source/huff_enc/huff_enc.c2
-rw-r--r--all_pairs/source/rijndael_dec/rijndael_dec.c1
-rw-r--r--all_pairs/tacleNames.txt18
-rw-r--r--baseline/Makefile8
-rwxr-xr-xbaseline/run_baseline_L3_ONLY.sh152
-rw-r--r--baseline/source/anagram/anagram.c6
-rw-r--r--baseline/source/anagram/anagram_stdlib.c2
-rw-r--r--baseline/source/huff_enc/huff_enc.c2
-rw-r--r--baseline/source/rijndael_dec/rijndael_dec.c1
-rwxr-xr-xbaseline/summarize.py34
-rw-r--r--baseline/tacleNames.txt18
-rwxr-xr-xdis/Makefile8
-rwxr-xr-xdis/bin/field_2mb2
-rwxr-xr-xdis/bin/matrix_2mb2
-rwxr-xr-xdis/bin/neighborhood_2mb2
-rwxr-xr-xdis/bin/pointer_2mb2
-rwxr-xr-xdis/bin/transitive_2mb2
-rwxr-xr-xdis/bin/update_2mb2
-rw-r--r--dis/dis2MbInNames.txt6
-rw-r--r--dis/disPairs2MbInNames.txt6
-rwxr-xr-xdis/run_dis.sh92
-rwxr-xr-xdis/setup_mem_and_global.sh22
-rw-r--r--extra.h196
-rwxr-xr-xrun_all_dis.sh70
-rwxr-xr-xrun_all_sd-vbs.sh67
-rwxr-xr-xrun_all_tacle.sh62
-rwxr-xr-xrun_bench.sh384
-rwxr-xr-xrun_dis_cache_vs_wss.sh67
-rwxr-xr-xrun_everything.sh21
-rwxr-xr-xrun_tacle_rtss20.sh48
-rwxr-xr-xsmt_analysis/computeLCslowdown.py73
-rwxr-xr-xsmt_analysis/computeSMTslowdown.py155
-rwxr-xr-xsmt_analysis/libSMT.py151
m---------smt_analysis/plotille0
-rwxr-xr-xsmt_analysis_rtss20/run_all_pairs_Level-C_DIS.sh175
-rwxr-xr-xsmt_analysis_rtss20/run_all_pairs_Level-C_TACLe.sh161
-rwxr-xr-xsummarize.py (renamed from dis/summarize.py)15
m---------wbinvd0
65 files changed, 1196 insertions, 1383 deletions
diff --git a/.gitignore b/.gitignore
index 057a48b..0e0db96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,9 @@
3*.txt.clean 3*.txt.clean
4# But not benchmark lists 4# But not benchmark lists
5!*Names.txt 5!*Names.txt
6# Special-case .txt handling for SD-VBS
7**/12345.txt
8!SD-VBS/benchmarks/**/*.txt
6 9
7# Ignore DIS benchmark binaries 10# Ignore DIS benchmark binaries
8**/field 11**/field
@@ -40,12 +43,7 @@
40**/statemate 43**/statemate
41**/susan 44**/susan
42 45
43# Ignore random walk benchmark 46# Ignore SD-VBS binaries
44**/random_walk
45
46# Ignore misc debug and build outputs
47**/.gdb_history
48
49**/mser 47**/mser
50**/multi_ncut 48**/multi_ncut
51**/stitch 49**/stitch
@@ -56,5 +54,10 @@
56**/sift 54**/sift
57**/localization 55**/localization
58**/disparity 56**/disparity
59**/12345.txt 57
60!SD-VBS/**/*.txt 58# Ignore random walk benchmark
59**/random_walk
60
61# Ignore misc temporary files
62**/.gdb_history
63*.swp
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..ebc7523
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
1[submodule "smt_analysis/plotille"]
2 path = smt_analysis/plotille
3 url = https://github.com/tammoippen/plotille.git
4[submodule "wbinvd"]
5 path = wbinvd
6 url = https://github.com/JoshuaJB/wbinvd.git
diff --git a/SD-VBS/benchmarks/disparity/src/c/script_disparity.c b/SD-VBS/benchmarks/disparity/src/c/script_disparity.c
index 431c02c..7d45ada 100644
--- a/SD-VBS/benchmarks/disparity/src/c/script_disparity.c
+++ b/SD-VBS/benchmarks/disparity/src/c/script_disparity.c
@@ -28,9 +28,7 @@ int main(int argc, char* argv[])
28 int WIN_SZ=8, SHIFT=64; 28 int WIN_SZ=8, SHIFT=64;
29 FILE* fp; 29 FILE* fp;
30 30
31 printf("Image 1: ");
32 scanf("%s", im1); 31 scanf("%s", im1);
33 printf("Image 2: ");
34 scanf("%s", im2); 32 scanf("%s", im2);
35#ifdef CHECK 33#ifdef CHECK
36 char checkFile[100] = "./expected_C.txt"; 34 char checkFile[100] = "./expected_C.txt";
@@ -86,17 +84,15 @@ int main(int argc, char* argv[])
86 Iright_moved = iSetArray(paddedRows, paddedCols, 0); 84 Iright_moved = iSetArray(paddedRows, paddedCols, 0);
87 85
88 range = iMallocHandle(1, 2); 86 range = iMallocHandle(1, 2);
89 printf("starting..\n"); 87 for_each_job {
90 for_each_job{ 88 retDisparity = getDisparity(imleft, imright, WIN_SZ, SHIFT,
91 retDisparity = getDisparity(imleft, imright, WIN_SZ, SHIFT, 89 minSAD, retDisp, halfWin,
92 minSAD, retDisp, halfWin, 90 IrightPadded, IleftPadded, Iright_moved,
93 IrightPadded, IleftPadded, Iright_moved, 91 retSAD, SAD, integralImg,
94 retSAD, SAD, integralImg, 92 range);
95 range);
96 } 93 }
97 printf("ending\n");
98 94
99#ifdef CHECK 95#ifdef CHECK
100 /** Self checking - use expected.txt from data directory **/ 96 /** Self checking - use expected.txt from data directory **/
101 { 97 {
102 int tol, ret=0; 98 int tol, ret=0;
diff --git a/SD-VBS/benchmarks/localization/src/c/script_localization.c b/SD-VBS/benchmarks/localization/src/c/script_localization.c
index 3392320..ed37132 100644
--- a/SD-VBS/benchmarks/localization/src/c/script_localization.c
+++ b/SD-VBS/benchmarks/localization/src/c/script_localization.c
@@ -41,7 +41,6 @@ int main(int argc, char* argv[])
41 41
42 char im1[100]; 42 char im1[100];
43 43
44 printf("Input txt File: ");
45 scanf("%s", im1); 44 scanf("%s", im1);
46