From 55f2653aafa38ea1d53a43c104185218e0dad1f1 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 14 May 2025 16:03:27 +0200 Subject: Use benchmark-specific input descriptions rather than opaque "#elements" --- BFS/include/dfatool_host.ah | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'BFS/include') diff --git a/BFS/include/dfatool_host.ah b/BFS/include/dfatool_host.ah index 592e6ec..b2677e1 100644 --- a/BFS/include/dfatool_host.ah +++ b/BFS/include/dfatool_host.ah @@ -5,6 +5,9 @@ aspect DfatoolHostTiming : public DfatoolHostDPUTiming { + unsigned long input_size; + unsigned int element_size; + virtual int getKernel() { return 1; } DfatoolHostTiming() { @@ -18,10 +21,10 @@ aspect DfatoolHostTiming : public DfatoolHostDPUTiming { advice call("% coo2csr(...)") : after() { struct CSRGraph *g = tjp->result(); input_size = g->numNodes; - printf("[--] BFS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); + printf("[--] BFS | n_dpus=%u n_nodes=%lu\n", NR_DPUS, input_size); } advice execution("% main(...)") : after() { - printf("[<<] BFS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); + printf("[<<] BFS | n_dpus=%u n_nodes=%lu\n", NR_DPUS, input_size); } }; -- cgit v1.2.3