Skip to content

Commit b7e80d3

Browse files
committed
Revert 2021-2024
1 parent bac887c commit b7e80d3

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

spec/2021.12/design_topics/device_support.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ rather than hard requirements:
8181

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

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

86-
3. If there are no input arrays, then use the setting from a context manager, if set.
87-
88-
4. If no context manager was used, then use the global default device/strategy
86+
3. If no context manager was used, then use the global default device/strategy
8987

9088
.. _device-out-of-scope:
9189

spec/2022.12/design_topics/device_support.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ rather than hard requirements:
8181

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

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

86-
3. If there are no input arrays, then use the setting from a context manager, if set.
87-
88-
4. If no context manager was used, then use the global default device/strategy
86+
3. If no context manager was used, then use the global default device/strategy
8987

9088
.. _device-out-of-scope:
9189

spec/2023.12/design_topics/device_support.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@ rather than hard requirements:
8282

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

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

87-
3. If there are no input arrays, then use the setting from a context manager, if set.
88-
89-
4. If no context manager was used, then use the global default device/strategy
87+
3. If no context manager was used, then use the global default device/strategy
9088

9189
.. _device-out-of-scope:
9290

spec/2024.12/design_topics/device_support.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@ rather than hard requirements:
8282

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

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

87-
3. If there are no input arrays, then use the setting from a context manager, if set.
88-
89-
4. If no context manager was used, then use the global default device/strategy
87+
3. If no context manager was used, then use the global default device/strategy
9088

9189
.. _device-out-of-scope:
9290

0 commit comments

Comments
 (0)