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 --- .../benchmarks/texture_synthesis/src/c/script_texture_synthesis.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'SD-VBS/benchmarks/texture_synthesis/src') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c b/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c index 01ddefd..2ebb423 100644 --- a/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c +++ b/SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c @@ -27,11 +27,10 @@ int main(int argc, char **argv) image = fiDeepCopy(im); init_params(data); - printf("start.\n"); - for_each_job{ + for_each_job { create_texture(image, data); } - printf("end..\n"); + #ifdef CHECK { int ret=0; @@ -59,7 +58,6 @@ I2D* parse_flags(int argc, char ** argv) I2D* image; char fileNm[256]; - printf("Input image: "); scanf("%s", fileNm); image = readImage(fileNm); WIDTHin = image->width; @@ -122,7 +120,7 @@ I2D* parse_flags(int argc, char ** argv) localx = 5; localy = 5; #endif - printf("Input size\t\t- (%dx%d)\n", HEIGHTin, WIDTHin); +// printf("Input size\t\t- (%dx%d)\n", HEIGHTin, WIDTHin); // xloopin = malloc(2*WIDTHin*sizeof(int)); // yloopin = malloc(2*HEIGHTin*sizeof(int)); -- cgit v1.2.2