Function tvm_sys::ffi::TVMStreamStreamSynchronize [−][src]
pub unsafe extern "C" fn TVMStreamStreamSynchronize(
device_type: c_int,
device_id: c_int,
src: TVMStreamHandle,
dst: TVMStreamHandle
) -> c_int
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