Function tvm::function::ffi::TVMStreamCreate[][src]

pub unsafe extern "C" fn TVMStreamCreate(
    device_type: i32,
    device_id: i32,
    out: *mut *mut c_void
) -> i32
Expand description

\brief Create a new runtime stream.

\param device_type The device type. \param device_id The device id. \param out The new stream handle. \return 0 when success, nonzero when failure happens