Skip to content

Commit

Permalink
SWDEV-468257 - Un-deprecate hipHostAlloc()
Browse files Browse the repository at this point in the history
Change-Id: I5cc820d9b2d9c592009b04cd7702c11d46590863
  • Loading branch information
Branislav Brzak authored and Branislav Brzak committed Jun 20, 2024
1 parent 8c51dc9 commit 91db702
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/reference/deprecated_api_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Memory management

* ``hipMallocHost`` (replaced with ``hipHostMalloc``)
* ``hipMemAllocHost`` (replaced with ``hipHostMalloc``)
* ``hipHostAlloc`` (replaced with ``hipHostMalloc``)
* ``hipFreeHost`` (replaced with ``hipHostFree``)
* ``hipMemcpyToArray``
* ``hipMemcpyFromArray``
Expand Down
3 changes: 0 additions & 3 deletions include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91db702

Please sign in to comment.