Browse Source

Add free

main
PatricZhao 3 years ago
committed by GitHub
parent
commit
f1ffb43e0b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      code/sync.cpp

+ 4
- 0
code/sync.cpp View File

@ -85,6 +85,10 @@
printf("\n Total Computation, TIme = %lf \n", duration_total);
printf("\nTask Done!\n");
free(cpu_mem, my_gpu_queue);
free(host_mem, my_gpu_queue);
free(device_mem, my_gpu_queue);
return 0;
}

Loading…
Cancel
Save