summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-03-13 11:56:36 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-03-13 11:56:36 +0100
commit2dc701bb9ee987b3044fefe51d2c8bc49b04088e (patch)
tree7155ef9d1e069754e76b09e80132edc68c23009b
parent3cd15f8dc1abab7e89615740688418751c4d57a0 (diff)
SEL: correctly determine upmem kernel throughput
-rw-r--r--SEL/host/app.c4
1 files 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]),