diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-08 14:23:56 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-08 14:23:56 +0100 |
commit | fd9e766986c43143c29728be491a48e893725ad0 (patch) | |
tree | 056ce27c3db68b3685f366995f2b99261173eb7c /BS/host | |
parent | 315245bc03d02f90abf0d53ae9df66a05e89f615 (diff) |
BS: handle alloc/load/free overhead as parameters; vary them for fgbs24a
Diffstat (limited to 'BS/host')
-rw-r--r-- | BS/host/app.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/BS/host/app.c b/BS/host/app.c index bcb22c5..4f73788 100644 --- a/BS/host/app.c +++ b/BS/host/app.c @@ -287,8 +287,10 @@ int main(int argc, char **argv) { if (status) { printf("[" ANSI_COLOR_GREEN "OK" ANSI_COLOR_RESET "] results are equal\n"); if (rep >= p.n_warmup) { - printf("[::] BS UPMEM | n_dpus=%d n_ranks=%d n_tasklets=%d e_type=%s block_size_B=%d n_elements=%lu b_sdk_singlethreaded=%d ", - NR_DPUS, nr_of_ranks, NR_TASKLETS, XSTR(DTYPE), BLOCK_SIZE, input_size, SDK_SINGLETHREADED); + printf("[::] BS UPMEM | n_dpus=%d n_ranks=%d n_tasklets=%d e_type=%s block_size_B=%d n_elements=%lu", + NR_DPUS, nr_of_ranks, NR_TASKLETS, XSTR(DTYPE), BLOCK_SIZE, input_size); + printf(" b_sdk_singlethreaded=%d b_with_alloc_overhead=%d b_with_load_overhead=%d b_with_free_overhead=%d ", + SDK_SINGLETHREADED, 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], |