summaryrefslogtreecommitdiff
path: root/GEMV/host
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-02 15:28:11 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-02 15:28:11 +0200
commit5a3652ed60704d2b45eb652639f9d712ea32e104 (patch)
tree4e202f53aec3ecd5663f279fa4250144db140539 /GEMV/host
parent7e0597a2ddb2d07ff7b72a6fa47245774e04f964 (diff)
GEMV: update dfatool port; add benchmark scripts
Diffstat (limited to 'GEMV/host')
-rw-r--r--GEMV/host/app.c10
1 files changed, 3 insertions, 7 deletions
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 {