diff --git a/meson_options.txt b/meson_options.txt deleted file mode 100644 index a9aec457abb826ddd7dca57ae332000574720736..0000000000000000000000000000000000000000 --- a/meson_options.txt +++ /dev/null @@ -1,5 +0,0 @@ -option( - 'rodinia_srad_output', - type: 'boolean', - value: false, -) diff --git a/src/benchmarks/rodinia-srad/c/meson.build b/src/benchmarks/rodinia-srad/c/meson.build index 7d5ee0923df5702ce38eef51a11ec291ad7b0322..5cf4141ea92cee8ec2a2f23d842db9c23ebaf6a0 100644 --- a/src/benchmarks/rodinia-srad/c/meson.build +++ b/src/benchmarks/rodinia-srad/c/meson.build @@ -10,16 +10,9 @@ options = [ 'c_std=c99', ] -cxxflags = [] - -if get_option('rodinia_srad_output') - cxxflags += ['-DOUTPUT'] -endif - executable( 'rodinia-srad-c', sources, - cpp_args: cxxflags, dependencies: dependencies, override_options: options, ) diff --git a/src/benchmarks/rodinia-srad/c/srad.cpp b/src/benchmarks/rodinia-srad/c/srad.cpp index 353b72782b289fa54be3554f54b1fa70960521da..d153c3396ebe23c665ddadb7874a3f3b87799111 100644 --- a/src/benchmarks/rodinia-srad/c/srad.cpp +++ b/src/benchmarks/rodinia-srad/c/srad.cpp @@ -1,8 +1,6 @@ // srad.cpp : Defines the entry point for the console application. // -//#define OUTPUT - #define OPEN #define ITERATION @@ -184,13 +182,7 @@ int main(int argc, char *argv[]) { // image update (equ 61) J[k] = J[k] + 0.25 * lambda * D; -#ifdef OUTPUT -// printf("%.5f ", J[k]); -#endif // output } -#ifdef OUTPUT -// printf("\n"); -#endif // output } #ifdef ITERATION @@ -198,7 +190,6 @@ int main(int argc, char *argv[]) { #endif -#ifdef OUTPUT for (int i = 0; i < rows; i++) { for (int j = 0; j < cols; j++) { @@ -206,7 +197,6 @@ int main(int argc, char *argv[]) { } printf("\n"); } -#endif printf("Computation Done\n"); @@ -233,12 +223,6 @@ void random_matrix(float *I, int rows, int cols) { for (int i = 0; i < rows; i++) { for (int j = 0; j < cols; j++) { I[i * cols + j] = rand() / (float)RAND_MAX; -#ifdef OUTPUT -// printf("%g ", I[i * cols + j]); -#endif } -#ifdef OUTPUT -// printf("\n"); -#endif } }