File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -161,10 +161,13 @@ issue, but this hasn't necessarily been tested thoroughly.
161161
1621623 . 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
You can’t perform that action at this time.
0 commit comments