Function tvm::function::ffi::TVMStreamStreamSynchronize [−][src]
pub unsafe extern "C" fn TVMStreamStreamSynchronize(
device_type: i32,
device_id: i32,
src: *mut c_void,
dst: *mut c_void
) -> i32
Expand description
\brief Synchronize two streams of execution.
\param device_type The device type. \param device_id The device id. \param src The source stream to synchronize. \param dst The destination stream to synchronize. \return 0 when success, nonzero when failure happens