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/mser/src/c/script_mser.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'SD-VBS/benchmarks/mser/src/c/script_mser.c') diff --git a/SD-VBS/benchmarks/mser/src/c/script_mser.c b/SD-VBS/benchmarks/mser/src/c/script_mser.c index d4a98cd..3e98f86 100644 --- a/SD-VBS/benchmarks/mser/src/c/script_mser.c +++ b/SD-VBS/benchmarks/mser/src/c/script_mser.c @@ -33,7 +33,6 @@ int main(int argc, char* argv[]) int ndims, nel, gdl, nmer; - printf("Input Image: "); scanf("%s", im1); I = readImage(im1); @@ -74,19 +73,17 @@ int main(int argc, char* argv[]) out = iMallocHandle(1, nmer); - printf("start\n"); - for_each_job{ + for_each_job { idx = mser(It, 2, subs_pt, nsubs_pt, strides_pt, visited_pt, dims, - joins_pt, + joins_pt, regions_pt, - pairs_pt, + pairs_pt, forest_pt, - acc_pt, ell_pt, + acc_pt, ell_pt, out); } - printf("end..\n"); - -#ifdef CHECK + +#ifdef CHECK /** Self checking - use expected.txt from data directory **/ { int tol, ret=0; -- cgit v1.2.2