Function tvm::function::ffi::TVMSynchronize [−][src]
pub unsafe extern "C" fn TVMSynchronize(
device_type: i32,
device_id: i32,
stream: *mut c_void
) -> i32
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