SWDEV-436608 - Un-deprecate hipHostAlloc()

Change-Id: Iad319e8acb13a293911bbd9242fc9ba52ebe7fbb


[ROCm/hip commit: 9f1d4625d2]
Tá an tiomantas seo le fáil i:
Julia Jiang
2024-07-30 15:20:21 -04:00
tiomanta ag Julia Jiang
tuismitheoir b449d583b1
tiomantas 7cfa620319
+2 -2
Féach ar an gComhad
@@ -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);
/**