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 Event instance that will be used to record an event onto other_stream. If None, an internally managed Event instance will be used.

  • external (bool) – Whether this is an external event during graph capture. This argument has no effect outside of graph capture.