SWDEV-468257 - Un-deprecate hipHostAlloc()

Change-Id: I5cc820d9b2d9c592009b04cd7702c11d46590863
Dieser Commit ist enthalten in:
Branislav Brzak verfasst und Branislav Brzak committed 2024-06-20 07:43:56 -04:00
1 Ursprung 8c51dc9438
Commit 91db702b8c
2 Dateien geändert
-4

Keine Dateien entsprechen Ihrer Suche

-1
Datei anzeigen
@@ -45,7 +45,6 @@ Memory management
* ``hipMallocHost`` (replaced with ``hipHostMalloc``)
* ``hipMemAllocHost`` (replaced with ``hipHostMalloc``)
* ``hipHostAlloc`` (replaced with ``hipHostMalloc``)
* ``hipFreeHost`` (replaced with ``hipHostFree``)
* ``hipMemcpyToArray``
* ``hipMemcpyFromArray``
-3
Datei anzeigen
@@ -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