From 2dc701bb9ee987b3044fefe51d2c8bc49b04088e Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 13 Mar 2024 11:56:36 +0100 Subject: SEL: correctly determine upmem kernel throughput --- SEL/host/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SEL/host/app.c b/SEL/host/app.c index 4fd7aaa..1aa9859 100644 --- a/SEL/host/app.c +++ b/SEL/host/app.c @@ -287,7 +287,7 @@ int main(int argc, char **argv) { timer.time[7]); printf(" throughput_cpu_MBps=%f throughput_upmem_kernel_MBps=%f throughput_upmem_total_MBps=%f", input_size * sizeof(T) / timer.time[2], - input_size * sizeof(T) / (timer.time[4]), + input_size * sizeof(T) / timer.time[4], input_size * sizeof(T) / (timer.time[0] + timer.time[1] + timer.time[3] + timer.time[4] + timer.time[5] + timer.time[6] + timer.time[7])); printf(" throughput_upmem_wxr_MBps=%f throughput_upmem_lwxr_MBps=%f throughput_upmem_alwxr_MBps=%f", input_size * sizeof(T) / (timer.time[3] + timer.time[4] + timer.time[5] + timer.time[6]), @@ -295,7 +295,7 @@ int main(int argc, char **argv) { input_size * sizeof(T) / (timer.time[0] + timer.time[1] + timer.time[3] + timer.time[4] + timer.time[5] + timer.time[6])); printf(" throughput_cpu_MOpps=%f throughput_upmem_kernel_MOpps=%f throughput_upmem_total_MOpps=%f", input_size / timer.time[2], - input_size / (timer.time[4] + timer.time[5] + timer.time[6]), + input_size / timer.time[4], input_size / (timer.time[0] + timer.time[1] + timer.time[3] + timer.time[4] + timer.time[5] + timer.time[6] + timer.time[7])); printf(" throughput_upmem_wxr_MOpps=%f throughput_upmem_lwxr_MOpps=%f throughput_upmem_alwxr_MOpps=%f\n", input_size / (timer.time[3] + timer.time[4] + timer.time[5] + timer.time[6]), -- cgit v1.2.3