summaryrefslogtreecommitdiff
path: root/VA/host
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-30 16:32:47 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-30 16:32:47 +0200
commitecf6521037c5a9340b137e3bf5df87790c33c58a (patch)
tree778fa7b9069e10aa6050f7bd896f606d4cfa9293 /VA/host
parentf167444c7acf9d0a558b076681c821915f6781b4 (diff)
VA: new dfatool format; -O and reproduction benchmarks
Diffstat (limited to 'VA/host')
-rw-r--r--VA/host/app.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/VA/host/app.c b/VA/host/app.c
index bfa6806..7758d65 100644
--- a/VA/host/app.c
+++ b/VA/host/app.c
@@ -187,20 +187,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 block_size_B=%d n_elements=%d "
- "| throughput_cpu_MBps=%f throughput_pim_MBps=%f throughput_MBps=%f\n",
+ printf("[::] VA NMC | n_dpus=%d n_tasklets=%d e_type=%s block_size_B=%d n_elements=%d "
+ "| 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[1] + timer.time[2] + timer.time[3]));
- printf("[::] n_dpus=%d n_tasklets=%d e_type=%s block_size_B=%d n_elements=%d "
- "| throughput_cpu_MOpps=%f throughput_pim_MOpps=%f throughput_MOpps=%f\n",
- nr_of_dpus, NR_TASKLETS, XSTR(T), BLOCK_SIZE, input_size,
+ 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[1] + timer.time[2] + timer.time[3]));
- printf("[::] n_dpus=%d n_tasklets=%d e_type=%s block_size_B=%d n_elements=%d | ",
- nr_of_dpus, NR_TASKLETS, XSTR(T), BLOCK_SIZE, input_size);
printall(&timer, 3);
}
} else {