Function tvm_sys::ffi::TVMSynchronize[][src]

pub unsafe extern "C" fn TVMSynchronize(
    device_type: c_int,
    device_id: c_int,
    stream: TVMStreamHandle
) -> c_int
Expand description

\brief Wait until all computations on stream completes.

\param device_type The device type. \param device_id The device id. \param stream The stream to be synchronized. \return 0 when success, nonzero when failure happens