summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-28 15:58:28 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-28 15:58:28 +0100
commite414e0ec440afa48b221589108e03e4032bddfc0 (patch)
tree13660585d24cf871f954ae28d71db54dadefbf31
parentc194ddf77142319d9b681d62ac11da77315916cf (diff)
Fix HST-S
-rw-r--r--HST-S/host/app.c4
-rwxr-xr-xHST-S/support/timer.h6
2 files changed, 5 insertions, 5 deletions
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;