cubecl_hip_sys

Function hipFreeHost

Source
pub unsafe extern "C" fn hipFreeHost(ptr: *mut c_void) -> hipError_t
Expand 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)

@warning This API is deprecated, use hipHostFree() instead