Function hip_runtime_sys::hipFreeHost
source · pub unsafe extern "C" fn hipFreeHost(ptr: *mut c_void) -> hipError_tExpand description
@brief Free memory allocated by the hcc hip host memory allocation API. [Deprecated]
@param[in] ptr Pointer to memory to be freed @return #hipSuccess, #hipErrorInvalidValue (if pointer is invalid, including device pointers allocated with hipMalloc) @deprecated use hipHostFree() instead