Browse Source

Update data_movement_ex.cpp

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

+ 3
- 0
code/data_movement_ex.cpp View File

@ -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…
Cancel
Save