diff --git a/docs/reference/deprecated_api_list.rst b/docs/reference/deprecated_api_list.rst index bad898fe9c..bc7e8d7c05 100644 --- a/docs/reference/deprecated_api_list.rst +++ b/docs/reference/deprecated_api_list.rst @@ -45,7 +45,6 @@ Memory management * ``hipMallocHost`` (replaced with ``hipHostMalloc``) * ``hipMemAllocHost`` (replaced with ``hipHostMalloc``) -* ``hipHostAlloc`` (replaced with ``hipHostMalloc``) * ``hipFreeHost`` (replaced with ``hipHostFree``) * ``hipMemcpyToArray`` * ``hipMemcpyFromArray`` diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 2122e68a58..1ce46c6d57 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -3773,10 +3773,7 @@ hipError_t hipMemPoolImportPointer( * If size is 0, no memory is allocated, *ptr returns nullptr, and hipSuccess is returned. * * @return #hipSuccess, #hipErrorOutOfMemory - * - * @warning This API is deprecated, use hipHostMalloc() instead */ -DEPRECATED("use hipHostMalloc instead") hipError_t hipHostAlloc(void** ptr, size_t size, unsigned int flags); /** * @brief Get Device pointer from Host Pointer allocated through hipHostMalloc