diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-30 16:17:38 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-30 16:17:38 +0200 |
commit | f167444c7acf9d0a558b076681c821915f6781b4 (patch) | |
tree | bdc74846d05b21ea8a2bd6e0a19f35ece8f2b510 /BS/baselines/cpu/bs_omp.c | |
parent | 4bbc83c0ec43b0ede8e4e0fb7f81494ccd65acf8 (diff) |
BS: switch to new dfatool format; add -O and reproduction scripts
Diffstat (limited to 'BS/baselines/cpu/bs_omp.c')
-rw-r--r-- | BS/baselines/cpu/bs_omp.c | 9 |
1 files changed, 3 insertions, 6 deletions
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"); |