From bcdc04a1e66804be8789ad3b7cd7cf9c4353a05e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 31 May 2023 16:10:33 +0200 Subject: VA: Correctly calculate PIM kernel throughput --- VA/host/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'VA') diff --git a/VA/host/app.c b/VA/host/app.c index 7758d65..3a9b3eb 100644 --- a/VA/host/app.c +++ b/VA/host/app.c @@ -191,11 +191,11 @@ int main(int argc, char **argv) { "| throughput_cpu_MBps=%f throughput_pim_MBps=%f throughput_MBps=%f", nr_of_dpus, NR_TASKLETS, XSTR(T), BLOCK_SIZE, input_size, input_size * 3 * sizeof(T) / timer.time[0], - input_size * 3 * sizeof(T) / (timer.time[1]), + input_size * 3 * sizeof(T) / (timer.time[2]), input_size * 3 * sizeof(T) / (timer.time[1] + timer.time[2] + timer.time[3])); printf(" throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f\n", input_size / timer.time[0], - input_size / (timer.time[1]), + input_size / (timer.time[2]), input_size / (timer.time[1] + timer.time[2] + timer.time[3])); printall(&timer, 3); } -- cgit v1.2.3