diff options
65 files changed, 1196 insertions, 1383 deletions
| @@ -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 | ||
