warp.wait_stream#
- warp.wait_stream(other_stream, event=None, external=False)[source]#
Convenience function for calling
Stream.wait_stream()on the current stream.- Parameters:
other_stream (Stream) – The stream on which the calling stream will wait for previously issued commands to complete before executing subsequent commands.
event (Event | None) – An optional
Eventinstance that will be used to record an event ontoother_stream. IfNone, an internally managedEventinstance will be used.external (bool) – Whether this is an external event during graph capture. This argument has no effect outside of graph capture.