From 03416c3f762f58f722eea0edc290c0f379320bdf Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 26 Jul 2024 18:09:59 +0200 Subject: TRNS host: do not needlessly re-allocate DPUs --- TRNS/host/app.c | 1 + 1 file changed, 1 insertion(+) (limited to 'TRNS/host') diff --git a/TRNS/host/app.c b/TRNS/host/app.c index 50c0de1..758f355 100644 --- a/TRNS/host/app.c +++ b/TRNS/host/app.c @@ -131,6 +131,7 @@ int main(int argc, char **argv) { DPU_ASSERT(dpu_load(dpu_set, DPU_BINARY, NULL)); stop(&timer, 2); DPU_ASSERT(dpu_get_nr_dpus(dpu_set, &nr_of_dpus)); + active_dpus_before = active_dpus; } else if (first_round){ start(&timer, 1, 0); DPU_ASSERT(dpu_alloc(active_dpus, NULL, &dpu_set)); -- cgit v1.2.3