Skip to content

Commit 62fe38d

Browse files
committed
update doc
1 parent c0e2b83 commit 62fe38d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/index.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,13 @@ issue, but this hasn't necessarily been tested thoroughly.
161161

162162
3. Since NumPy is a CPU-only library, the [device
163163
support](https://data-apis.org/array-api/latest/design_topics/device_support.html)
164-
in array-api-strict is superficial only. `x.device` is always a (private)
165-
`CPU_DEVICE` object, and `device` keywords to creation functions only
166-
accept either this object or `None`. A future version of array-api-strict
167-
[may add support for a CuPy
164+
in array-api-strict is superficial only.
165+
array-api-strict supports three 'devices'; the default `CPU_DEVICE`,
166+
`Device("device1")` and `Device("device2")`. This allows testing of arrays on
167+
different devices, without the need for special hardware.
168+
`x.device` is always a `Device` object, and `device` keywords to creation
169+
functions only accept these three device objects or `None`. A future version of
170+
array-api-strict [may add support for a CuPy
168171
backend](https://github.com/data-apis/array-api-strict/issues/5) so that
169172
more significant device support can be tested.
170173

0 commit comments

Comments
 (0)