mindspore.runtime.synchronize
=============================

.. py:function:: mindspore.runtime.synchronize()

    同步当前设备上的所有流。(每个MindSpore进程只占用一个设备)