From 62d4e5af8f3ad59ebb4bbe8166d30fdce168ad20 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 7 Jun 2024 10:53:19 +0200 Subject: CPU-DPU: Remove unused C2 array --- Microbenchmarks/CPU-DPU/host/app.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Microbenchmarks') diff --git a/Microbenchmarks/CPU-DPU/host/app.c b/Microbenchmarks/CPU-DPU/host/app.c index 401722f..e58bbe9 100644 --- a/Microbenchmarks/CPU-DPU/host/app.c +++ b/Microbenchmarks/CPU-DPU/host/app.c @@ -29,7 +29,6 @@ static T* A; static T* B; static T* C; -static T* C2; static const char transfer_mode[] = #if SERIAL @@ -101,7 +100,7 @@ int main(int argc, char **argv) { A = malloc(input_size * sizeof(T)); B = malloc(input_size * sizeof(T)); C = malloc(input_size * sizeof(T)); - C2 = malloc(input_size * sizeof(T)); + T *bufferA = A; T *bufferC = C; @@ -225,7 +224,6 @@ int main(int argc, char **argv) { free(A); free(B); free(C); - free(C2); DPU_ASSERT(dpu_free(dpu_set)); return 0; -- cgit v1.2.3