mlx/docs/src/python/devices_and_streams.rst
Awni Hannun 3d405fb3b1
Add synchronize function (#1006)
* add synchronize function

* fix linux

* fix linux

* fix and fix docs

* fix test

* try synchronize in stream destroy

* synchronize works for both cpu and gpu
2024-04-22 08:25:46 -07:00

20 lines
278 B
ReStructuredText

.. _devices_and_streams:
Devices and Streams
===================
.. currentmodule:: mlx.core
.. autosummary::
:toctree: _autosummary
Device
Stream
default_device
set_default_device
default_stream
new_stream
set_default_stream
stream
synchronize