X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=benchmarks%2Fmt-vvadd%2Fmt-vvadd.c;h=870916686db6ca113a64d7010de4ea4b27f18073;hb=6855cddc0ff7bcc06e71aa24a0417fc0656e75fb;hp=48eae6ad363a077339d7113525472600b397ddcd;hpb=d537de7deffa6036dab573ff174b7f8c8e470437;p=riscv-tests.git diff --git a/benchmarks/mt-vvadd/mt-vvadd.c b/benchmarks/mt-vvadd/mt-vvadd.c index 48eae6a..8709166 100644 --- a/benchmarks/mt-vvadd/mt-vvadd.c +++ b/benchmarks/mt-vvadd/mt-vvadd.c @@ -1,3 +1,5 @@ +// See LICENSE for license details. + //************************************************************************** // Vector-vector add benchmark //-------------------------------------------------------------------------- @@ -55,10 +57,10 @@ 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 +#ifdef DEBUG printDoubleArray("out-of-place results: ", DATA_SIZE, results_data); printDoubleArray("out-of-place verify : ", DATA_SIZE, verify_data); -//#endif +#endif int res = verifyDouble(DATA_SIZE, results_data, verify_data); if(res) exit(res); }