parameters: (self)
docstring: A context manager that waits for all commands in this stream to execute
          and commits any pending memory transfers upon exiting the context.
docstring_summary: A context manager that waits for all commands in this stream to execute
          and commits any pending memory transfers upon exiting the context.
docstring_tokens: A context manager that waits for all commands in this stream to execute and commits any pending memory transfers upon exiting the context .
function: def auto_synchronize(self):
          '''
          A context manager that waits for all commands in this stream to execute
          and commits any pending memory transfers upon exiting the context.
          '''
          yield self
          self.synchronize()
function_tokens: def auto_synchronize ( self ) : yield self self . synchronize ( )