From e414e0ec440afa48b221589108e03e4032bddfc0 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 28 Feb 2024 15:58:28 +0100 Subject: Fix HST-S --- HST-S/host/app.c | 4 ++-- HST-S/support/timer.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'HST-S') diff --git a/HST-S/host/app.c b/HST-S/host/app.c index df728a8..dc9ddce 100644 --- a/HST-S/host/app.c +++ b/HST-S/host/app.c @@ -297,8 +297,8 @@ int main(int argc, char **argv) { #endif if (rep >= p.n_warmup) { - printf("[::] HST-S UPMEM | n_dpus=%d n_ranks=%d n_tasklets=%d e_type=%s n_elements=%d n_bins=%d b_sdk_singlethreaded=%d ", - nr_of_dpus, nr_of_ranks, NR_TASKLETS, XSTR(T), input_size, p.bins, SDK_SINGLETHREADED); + printf("[::] HST-S UPMEM | n_dpus=%d n_ranks=%d n_tasklets=%d e_type=%s n_elements=%d n_bins=%d ", + nr_of_dpus, nr_of_ranks, NR_TASKLETS, XSTR(T), input_size, p.bins); printf("| latency_alloc_us=%f latency_load_us=%f latency_cpu_us=%f latency_write_us=%f latency_kernel_us=%f latency_read_us=%f latency_free_us=%f", timer.time[0], timer.time[1], diff --git a/HST-S/support/timer.h b/HST-S/support/timer.h index 5c00213..4d597b9 100755 --- a/HST-S/support/timer.h +++ b/HST-S/support/timer.h @@ -37,9 +37,9 @@ typedef struct Timer{ - struct timeval startTime[4]; - struct timeval stopTime[4]; - double time[4]; + struct timeval startTime[7]; + struct timeval stopTime[7]; + double time[7]; }Timer; -- cgit v1.2.3