pub unsafe extern "C" fn hipHostFree(ptr: *mut c_void) -> hipError_tExpand description
@brief Free memory allocated by the HIP-Clang hip host memory allocation API This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.
@ingroup MemoryD
@param[in] ptr Pointer to memory to be freed @returns #hipSuccess, #hipErrorInvalidValue (if pointer is invalid, including device pointers allocated with hipMalloc)
@see hipMalloc, hipMallocPitch, hipFree, hipMallocArray, hipFreeArray, hipMalloc3D, hipMalloc3DArray, hipHostMalloc