浏览代码

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;
}

正在加载...
取消
保存