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 --- TRNS/host/app.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TRNS/host/app.c') diff --git a/TRNS/host/app.c b/TRNS/host/app.c index b9a81b7..c178a19 100644 --- a/TRNS/host/app.c +++ b/TRNS/host/app.c @@ -47,7 +47,6 @@ static T* A_host; static T* A_backup; static T* A_result; -struct Params p; unsigned int kernel = 0; // Create input arrays @@ -77,7 +76,7 @@ static void trns_host(T* input, unsigned int A, unsigned int B, unsigned int b){ // Main of the Host Application 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