Function tvm_sys::ffi::TVMStreamCreate[][src]

pub unsafe extern "C" fn TVMStreamCreate(
    device_type: c_int,
    device_id: c_int,
    out: *mut TVMStreamHandle
) -> c_int
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