瀏覽代碼

Add free

main
PatricZhao 2 年之前
committed by GitHub
父節點
當前提交
f1ffb43e0b
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      code/sync.cpp

+ 4
- 0
code/sync.cpp 查看文件

@ -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…
取消
儲存