pub unsafe extern "C" fn hipMemAllocHost(
ptr: *mut *mut c_void,
size: usize,
) -> hipError_t
Expand description
@brief Allocate pinned host memory [Deprecated]
@param[out] ptr Pointer to the allocated host pinned memory @param[in] size Requested memory size
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