From 5f8f20540a69713921b0f49ae9d28b5f56943b34 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 13 May 2025 15:39:00 +0200 Subject: TRNS, VA: global params are not required --- VA/host/app.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'VA/host/app.c') diff --git a/VA/host/app.c b/VA/host/app.c index 697731b..04f1971 100644 --- a/VA/host/app.c +++ b/VA/host/app.c @@ -47,7 +47,6 @@ static T *B; static T *C; static T *C2; -struct Params p; unsigned int kernel; // Create input arrays @@ -72,7 +71,7 @@ static void vector_addition_host(T *C, T *A, T *B, unsigned long int nr_elements int main(int argc, char **argv) { - p = input_params(argc, argv); + struct Params p = input_params(argc, argv); struct dpu_set_t dpu_set, dpu; uint32_t nr_of_dpus; -- cgit v1.2.3