summaryrefslogtreecommitdiff
path: root/GEMV/host
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-03-08 14:38:38 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-03-08 14:38:38 +0100
commit769b830d7b41e6d4eaec9945ffe1c9983596cb16 (patch)
treeb590417fe406b8d3d5c322c813b85fa1677f9d2d /GEMV/host
parentfd9e766986c43143c29728be491a48e893725ad0 (diff)
GEMV: handle alloc/load/free overhead as parameters; vary them for fgbs24a
Diffstat (limited to 'GEMV/host')
-rw-r--r--GEMV/host/app.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/GEMV/host/app.c b/GEMV/host/app.c
index d1cfaf5..649e8e5 100644
--- a/GEMV/host/app.c
+++ b/GEMV/host/app.c
@@ -281,8 +281,10 @@ 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("[::] GEMV UPMEM | n_dpus=%d n_tasklets=%d e_type=%s block_size_B=%d n_elements=%d ",
+ printf("[::] GEMV UPMEM | 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, n_size * m_size);
+ printf(" b_with_alloc_overhead=%d b_with_load_overhead=%d b_with_free_overhead=%d ",
+ WITH_ALLOC_OVERHEAD, WITH_LOAD_OVERHEAD, WITH_FREE_OVERHEAD);
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],