From 7cfa6203192a0c4ffe9e4e5985d59d894cc65dbb Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Tue, 30 Jul 2024 15:20:21 -0400 Subject: [PATCH] SWDEV-436608 - Un-deprecate hipHostAlloc() Change-Id: Iad319e8acb13a293911bbd9242fc9ba52ebe7fbb [ROCm/hip commit: 9f1d4625d2a48335712911c36081a1190a68a740] --- projects/hip/include/hip/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 2c0b4d8c60..76b0c65d80 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -3766,7 +3766,7 @@ hipError_t hipMemPoolImportPointer( */ /** - * @brief Allocate device accessible page locked host memory [Deprecated] + * @brief Allocate device accessible page locked host memory * * @param[out] ptr Pointer to the allocated host pinned memory * @param[in] size Requested memory size in bytes @@ -3774,7 +3774,7 @@ hipError_t hipMemPoolImportPointer( * * If size is 0, no memory is allocated, *ptr returns nullptr, and hipSuccess is returned. * - * @return #hipSuccess, #hipErrorOutOfMemory + * @return #hipSuccess, #hipErrorOutOfMemory, #hipErrorInvalidValue */ hipError_t hipHostAlloc(void** ptr, size_t size, unsigned int flags); /**