parameters: (self, stream)
docstring: r"""Synchronizes with another stream.
  
          All future work submitted to this stream will wait until all kernels
          submitted to a given stream at the time of call complete.
  
          Args:
              stream (Stream): a stream to synchronize.
  
          .. note:: This function returns without waiting for currently enqueued
             kernels in :attr:`stream`: only future operations are affected.
docstring_summary: r"""Synchronizes with another stream.
docstring_tokens: r Synchronizes with another stream .
function: def wait_stream(self, stream):
          r"""Synchronizes with another stream.
  
          All future work submitted to this stream will wait until all kernels
          submitted to a given stream at the time of call complete.
  
          Args:
              stream (Stream): a stream to synchronize.
  
          .. note:: This function returns without waiting for currently enqueued
             kernels in :attr:`stream`: only future operations are affected.
          """
          self.wait_event(stream.record_event())
function_tokens: def wait_stream ( self , stream ) : self . wait_event ( stream . record_event ( ) )