diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 03:17:31 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 03:17:31 -0400 |
commit | 163c440444c74a4e0bbe0a8db3d1ca725413994b (patch) | |
tree | d4eaf9f407be042811f26dfb2613ff1c99966289 /SD-VBS/benchmarks/texture_synthesis/src | |
parent | d17b33131c14864bd1eae275f49a3f148e21cf29 (diff) |
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
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src')
-rw-r--r-- | SD-VBS/benchmarks/texture_synthesis/src/c/script_texture_synthesis.c | 8 |
1 files changed, 3 insertions, 5 deletions
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) | |||
27 | image = fiDeepCopy(im); | 27 | image = fiDeepCopy(im); |
28 | init_params(data); | 28 | init_params(data); |
29 | 29 | ||
30 | printf("start.\n"); | 30 | for_each_job { |
31 | for_each_job{ | ||
32 | create_texture(image, data); | 31 | create_texture(image, data); |
33 | } | 32 | } |
34 | printf("end..\n"); | 33 | |
35 | #ifdef CHECK | 34 | #ifdef CHECK |
36 | { | 35 | { |
37 | int ret=0; | 36 | int ret=0; |
@@ -59,7 +58,6 @@ I2D* parse_flags(int argc, char ** argv) | |||
59 | I2D* image; | 58 | I2D* image; |
60 | char fileNm[256]; | 59 | char fileNm[256]; |
61 | 60 | ||
62 | printf("Input image: "); | ||
63 | scanf("%s", fileNm); | 61 | scanf("%s", fileNm); |
64 | image = readImage(fileNm); | 62 | image = readImage(fileNm); |
65 | WIDTHin = image->width; | 63 | WIDTHin = image->width; |
@@ -122,7 +120,7 @@ I2D* parse_flags(int argc, char ** argv) | |||
122 | localx = 5; | 120 | localx = 5; |
123 | localy = 5; | 121 | localy = 5; |
124 | #endif | 122 | #endif |
125 | printf("Input size\t\t- (%dx%d)\n", HEIGHTin, WIDTHin); | 123 | // printf("Input size\t\t- (%dx%d)\n", HEIGHTin, WIDTHin); |
126 | 124 | ||
127 | // xloopin = malloc(2*WIDTHin*sizeof(int)); | 125 | // xloopin = malloc(2*WIDTHin*sizeof(int)); |
128 | // yloopin = malloc(2*HEIGHTin*sizeof(int)); | 126 | // yloopin = malloc(2*HEIGHTin*sizeof(int)); |