From b2f2d29e3d603a6b191d927598b264ba63bc74e0 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 28 Nov 2023 08:10:43 +0100 Subject: TRNS: Influde free overhead in reconfiguration overhead --- TRNS/host/app.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'TRNS') diff --git a/TRNS/host/app.c b/TRNS/host/app.c index df5aeca..ea6de14 100644 --- a/TRNS/host/app.c +++ b/TRNS/host/app.c @@ -38,7 +38,6 @@ static T* A_result; // Create input arrays static void read_input(T* A, unsigned int nr_elements) { srand(0); - printf("nr_elements\t%u\t", nr_elements); for (unsigned int i = 0; i < nr_elements; i++) { A[i] = (T) (rand()); } @@ -247,7 +246,9 @@ int main(int argc, char **argv) { first_round = 0; } } + start(&timer, 1, 1); DPU_ASSERT(dpu_free(dpu_set)); + stop(&timer, 1); // Check output bool status = true; @@ -291,6 +292,7 @@ int main(int argc, char **argv) { } // Print timing results + /* printf("CPU "); print(&timer, 0, p.n_reps); printf("CPU-DPU (Step 1) "); @@ -301,6 +303,7 @@ int main(int argc, char **argv) { print(&timer, 3, p.n_reps); printf("DPU-CPU "); print(&timer, 4, p.n_reps); + */ #if ENERGY double energy; -- cgit v1.2.3