From 373fd99aa1872f751a7c6b5b477ebe971b038112 Mon Sep 17 00:00:00 2001 From: gilbertlee-amd <44450918+gilbertlee-amd@users.noreply.github.com> Date: Thu, 18 Jul 2019 22:46:07 -0600 Subject: [PATCH] Fix Typo HipHostMemory to HipHostMalloc (#1236) [ROCm/hip commit: 8ff7a99a4cc431cb4feb0e7cbf02b967917f4aa4] --- projects/hip/docs/markdown/hip_programming_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/docs/markdown/hip_programming_guide.md b/projects/hip/docs/markdown/hip_programming_guide.md index a4c36a5f50..4a4300e357 100644 --- a/projects/hip/docs/markdown/hip_programming_guide.md +++ b/projects/hip/docs/markdown/hip_programming_guide.md @@ -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.