Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert 2021-2024
  • Loading branch information
crusaderky committed Apr 18, 2025
commit b7e80d340d8f6a91f17ba6403f6498a6fedb1fb2
6 changes: 2 additions & 4 deletions spec/2021.12/design_topics/device_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ rather than hard requirements:

1. If ``device=`` keyword is specified, that always takes precedence

2. If ``device=None``, then use the device of the input array(s), if any.
2. If ``device=None``, then use the setting from a context manager, if set.

3. If there are no input arrays, then use the setting from a context manager, if set.

4. If no context manager was used, then use the global default device/strategy
3. If no context manager was used, then use the global default device/strategy

.. _device-out-of-scope:

Expand Down
6 changes: 2 additions & 4 deletions spec/2022.12/design_topics/device_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ rather than hard requirements:

1. If ``device=`` keyword is specified, that always takes precedence

2. If ``device=None``, then use the device of the input array(s), if any.
2. If ``device=None``, then use the setting from a context manager, if set.

3. If there are no input arrays, then use the setting from a context manager, if set.

4. If no context manager was used, then use the global default device/strategy
3. If no context manager was used, then use the global default device/strategy

.. _device-out-of-scope:

Expand Down
6 changes: 2 additions & 4 deletions spec/2023.12/design_topics/device_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ rather than hard requirements:

1. If ``device=`` keyword is specified, that always takes precedence

2. If ``device=None``, then use the device of the input array(s), if any.
2. If ``device=None``, then use the setting from a context manager, if set.

3. If there are no input arrays, then use the setting from a context manager, if set.

4. If no context manager was used, then use the global default device/strategy
3. If no context manager was used, then use the global default device/strategy

.. _device-out-of-scope:

Expand Down
6 changes: 2 additions & 4 deletions spec/2024.12/design_topics/device_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ rather than hard requirements:

1. If ``device=`` keyword is specified, that always takes precedence

2. If ``device=None``, then use the device of the input array(s), if any.
2. If ``device=None``, then use the setting from a context manager, if set.

3. If there are no input arrays, then use the setting from a context manager, if set.

4. If no context manager was used, then use the global default device/strategy
3. If no context manager was used, then use the global default device/strategy

.. _device-out-of-scope:

Expand Down