From 163c440444c74a4e0bbe0a8db3d1ca725413994b Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 03:17:31 -0400 Subject: Make SD-VBS compatible with run_bench.sh and cleanup SD-VBS: - Run silently - Fix some whitespace errors - Don't duplicate extra.h - Auto-detect if building with LITMUS-RT - Disable result checking - Add helper symlinks Misc: - Remove unused code from libextra - Set some missing rt_param fields in libextra - Disable CSV info dump from computeSMTslowdown.sh - Widen scope of .gitignore on .txt files - Include list of 2MB DIS pair benchmarks and inputs --- SD-VBS/benchmarks/sift/src/c/script_sift.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'SD-VBS/benchmarks/sift/src/c/script_sift.c') diff --git a/SD-VBS/benchmarks/sift/src/c/script_sift.c b/SD-VBS/benchmarks/sift/src/c/script_sift.c index 0b2f106..ab39ae3 100644 --- a/SD-VBS/benchmarks/sift/src/c/script_sift.c +++ b/SD-VBS/benchmarks/sift/src/c/script_sift.c @@ -45,7 +45,6 @@ int main(int argc, char* argv[]) unsigned int* startTime, *endTime, *elapsed; char imSrc[100]; - printf("Input image: "); scanf("%s", imSrc); im = readImage(imSrc); image = fiDeepCopy(im); @@ -53,16 +52,14 @@ int main(int argc, char* argv[]) cols = image->width; - printf("start\n"); for_each_job{ image = fiDeepCopy(im); - normalizeImage(image); + normalizeImage(image); /** Extract sift features for the normalized image **/ frames = sift(image); } - printf("end..\n"); - -#ifdef CHECK + +#ifdef CHECK { int ret=0; float tol = 0.2; -- cgit v1.2.2