瀏覽代碼

Update data_movement_ex.cpp

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

+ 3
- 0
code/data_movement_ex.cpp 查看文件

@ -35,6 +35,9 @@
printf("%d, ", host_mem[i]);
}
printf("\nTask Done!\n");
free(host_mem, my_gpu_queue);
free(device_mem, my_gpu_queue);
return 0;
}

Loading…
取消
儲存