Fix Typo HipHostMemory to HipHostMalloc (#1236)

这个提交包含在:
gilbertlee-amd
2019-07-18 22:46:07 -06:00
提交者 Maneesh Gupta
父节点 888ccbc205
当前提交 8ff7a99a4c
+1 -1
查看文件
@@ -3,7 +3,7 @@
## Host Memory
### Introduction
hipHostMemory allocates pinned host memory which is mapped into the address space of all GPUs in the system.
hipHostMalloc allocates pinned host memory which is mapped into the address space of all GPUs in the system.
There are two use cases for this host memory:
- Faster HostToDevice and DeviceToHost Data Transfers:
The runtime tracks the hipHostMalloc allocations and can avoid some of the setup required for regular unpinned memory. For exact measurements on a specific system, experiment with --unpinned and --pinned switches for the hipBusBandwidth tool.