X-Git-Url: https://git.libre-soc.org/?p=riscv-tests.git;a=blobdiff_plain;f=benchmarks%2Fmt-vvadd%2Fmt-vvadd.c;h=54c960236d542f26fd9dfbbf88f9baa35379ad9c;hp=870916686db6ca113a64d7010de4ea4b27f18073;hb=9fbc573597c8087ab0aa8e20d8835cfc2c5097a4;hpb=d2bd84a096a97ff4b8f41035c984991d0df922c1 diff --git a/benchmarks/mt-vvadd/mt-vvadd.c b/benchmarks/mt-vvadd/mt-vvadd.c index 8709166..54c9602 100644 --- a/benchmarks/mt-vvadd/mt-vvadd.c +++ b/benchmarks/mt-vvadd/mt-vvadd.c @@ -12,9 +12,6 @@ // generated using the vvadd_gendata.pl perl script and dumped // to a file named dataset.h -// to print out arrays, etc. -//#define DEBUG - //-------------------------------------------------------------------------- // Includes @@ -57,10 +54,6 @@ void thread_entry(int cid, int nc) stats(vvadd(cid, nc, DATA_SIZE, input1_data, input2_data, results_data); barrier(nc), DATA_SIZE); if(cid == 0) { -#ifdef DEBUG - printDoubleArray("out-of-place results: ", DATA_SIZE, results_data); - printDoubleArray("out-of-place verify : ", DATA_SIZE, verify_data); -#endif int res = verifyDouble(DATA_SIZE, results_data, verify_data); if(res) exit(res); } @@ -76,10 +69,6 @@ void thread_entry(int cid, int nc) stats(vvadd(cid, nc, DATA_SIZE, results_data, input2_data, results_data); barrier(nc), DATA_SIZE); if(cid == 0) { -#ifdef DEBUG - printDoubleArray("in-place results: ", DATA_SIZE, results_data); - printDoubleArray("in-place verify : ", DATA_SIZE, verify_data); -#endif int res = verifyDouble(DATA_SIZE, results_data, verify_data); if(res) exit(res); }