diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-06-02 15:28:11 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-06-02 15:28:11 +0200 |
commit | 5a3652ed60704d2b45eb652639f9d712ea32e104 (patch) | |
tree | 4e202f53aec3ecd5663f279fa4250144db140539 /GEMV/baselines/cpu/gemv_openmp.c | |
parent | 7e0597a2ddb2d07ff7b72a6fa47245774e04f964 (diff) |
GEMV: update dfatool port; add benchmark scripts
Diffstat (limited to 'GEMV/baselines/cpu/gemv_openmp.c')
-rw-r--r-- | GEMV/baselines/cpu/gemv_openmp.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/GEMV/baselines/cpu/gemv_openmp.c b/GEMV/baselines/cpu/gemv_openmp.c index 69c3ae1..df70be3 100644 --- a/GEMV/baselines/cpu/gemv_openmp.c +++ b/GEMV/baselines/cpu/gemv_openmp.c @@ -41,16 +41,12 @@ int main(int argc, char *argv[]) start(&timer, 0, 0); gemv(A, x, rows, cols, &b); stop(&timer, 0); - printf("[::] n_threads=%d e_type=%s n_elements=%d " - "| throughput_cpu_omp_MBps=%f\n", + printf("[::] GEMV CPU | n_threads=%d e_type=%s n_elements=%d " + "| throughput_MBps=%f", nr_threads, "double", rows * cols, rows * cols * sizeof(double) / timer.time[0]); - printf("[::] n_threads=%d e_type=%s n_elements=%d " - "| throughput_cpu_omp_MOpps=%f\n", - nr_threads, "double", rows * cols, + printf(" throughput_MOpps=%f", rows * cols / timer.time[0]); - printf("[::] n_threads=%d e_type=%s n_elements=%d |", - nr_threads, "double", rows * cols); printall(&timer, 0); } |