Function tvm::function::ffi::TVMStreamFree [−][src]
pub unsafe extern "C" fn TVMStreamFree(
device_type: i32,
device_id: i32,
stream: *mut c_void
) -> i32
Expand description
\brief Free a created stream handle.
\param device_type The device type. \param device_id The device id. \param stream The stream to be freed. \return 0 when success, nonzero when failure happens