diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-06-07 10:53:19 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-06-07 10:57:00 +0200 |
commit | 62d4e5af8f3ad59ebb4bbe8166d30fdce168ad20 (patch) | |
tree | 318ac3cc20db9bd70cb5ee7b4e78e4537addb42c | |
parent | 0f0243a8e9ca87b7ce5d5ffc2fb567508dbde270 (diff) |
CPU-DPU: Remove unused C2 array
-rw-r--r-- | Microbenchmarks/CPU-DPU/host/app.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |