From 5a3652ed60704d2b45eb652639f9d712ea32e104 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Jun 2023 15:28:11 +0200 Subject: GEMV: update dfatool port; add benchmark scripts --- GEMV/host/app.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'GEMV/host') diff --git a/GEMV/host/app.c b/GEMV/host/app.c index daf4427..612758d 100644 --- a/GEMV/host/app.c +++ b/GEMV/host/app.c @@ -230,20 +230,16 @@ int main(int argc, char **argv) { if (status) { printf("[" ANSI_COLOR_GREEN "OK" ANSI_COLOR_RESET "] Outputs are equal\n"); if (rep >= p.n_warmup) { - printf("[::] n_dpus=%d n_tasklets=%d e_type=%s n_elements=%d " - "| throughput_cpu_MBps=%f throughput_pim_MBps=%f throughput_MBps=%f\n", + printf("[::] GEMV NMC | n_dpus=%d n_tasklets=%d e_type=%s n_elements=%d " + "| throughput_cpu_MBps=%f throughput_pim_MBps=%f throughput_MBps=%f", nr_of_dpus, NR_TASKLETS, XSTR(T), n_size * m_size, n_size * m_size * sizeof(T) / timer.time[0], n_size * m_size * sizeof(T) / timer.time[2], n_size * m_size * sizeof(T) / (timer.time[1] + timer.time[2] + timer.time[3])); - printf("[::] n_dpus=%d n_tasklets=%d e_type=%s n_elements=%d " - "| throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f\n", - nr_of_dpus, NR_TASKLETS, XSTR(T), n_size * m_size, + printf(" throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f", n_size * m_size / timer.time[0], n_size * m_size / timer.time[2], n_size * m_size / (timer.time[1] + timer.time[2] + timer.time[3])); - printf("[::] n_dpus=%d n_tasklets=%d e_type=%s n_elements=%d |", - nr_of_dpus, NR_TASKLETS, XSTR(T), n_size * m_size); printall(&timer, 3); } } else { -- cgit v1.2.3