From f167444c7acf9d0a558b076681c821915f6781b4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 30 May 2023 16:17:38 +0200 Subject: BS: switch to new dfatool format; add -O and reproduction scripts --- BS/baselines/cpu/bs_omp.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'BS/baselines/cpu/bs_omp.c') diff --git a/BS/baselines/cpu/bs_omp.c b/BS/baselines/cpu/bs_omp.c index b8b3023..3775bce 100644 --- a/BS/baselines/cpu/bs_omp.c +++ b/BS/baselines/cpu/bs_omp.c @@ -100,16 +100,13 @@ uint64_t binarySearch(DTYPE * input, uint64_t input_size, DTYPE* querys, unsigne int status = (result_host); if (status) { - printf("[::] n_threads=%d e_type=%s n_elements=%d " - "| throughput_cpu_omp_MBps=%f\n", + printf("[::] BS CPU | n_threads=%d e_type=%s n_elements=%d " + "| throughput_MBps=%f", nr_threads, "uint64_t", input_size, n_querys * sizeof(DTYPE) / timer.time[0]); - printf("[::] n_threads=%d e_type=%s n_elements=%d " - "| throughput_cpu_omp_MOpps=%f\n", + printf(" throughput_MOpps=%f", nr_threads, "uint64_t", input_size, n_querys / timer.time[0]); - printf("[::] n_threads=%d e_type=%s n_elements=%d |", - nr_threads, "uint64_t", input_size); printall(&timer, 0); } else { printf("[ERROR]\n"); -- cgit v1.2.3