From 62fe38da39f262ef72df09ae4ba60e299e2ce633 Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Fri, 19 Dec 2025 13:48:45 +1100 Subject: [PATCH 1/2] update doc --- docs/index.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 65006b6..bfe6c87 100644 --- a/docs/index.md +++ b/docs/index.md @@ -161,10 +161,13 @@ issue, but this hasn't necessarily been tested thoroughly. 3. Since NumPy is a CPU-only library, the [device support](https://data-apis.org/array-api/latest/design_topics/device_support.html) - in array-api-strict is superficial only. `x.device` is always a (private) - `CPU_DEVICE` object, and `device` keywords to creation functions only - accept either this object or `None`. A future version of array-api-strict - [may add support for a CuPy + in array-api-strict is superficial only. + array-api-strict supports three 'devices'; the default `CPU_DEVICE`, + `Device("device1")` and `Device("device2")`. This allows testing of arrays on + different devices, without the need for special hardware. + `x.device` is always a `Device` object, and `device` keywords to creation + functions only accept these three device objects or `None`. A future version of + array-api-strict [may add support for a CuPy backend](https://github.com/data-apis/array-api-strict/issues/5) so that more significant device support can be tested. From 8422f510a5487929fbc5fe73d0069e8a15b2c8cb Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Fri, 19 Dec 2025 13:53:54 +1100 Subject: [PATCH 2/2] wording --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index bfe6c87..19fc0fe 100644 --- a/docs/index.md +++ b/docs/index.md @@ -166,7 +166,7 @@ issue, but this hasn't necessarily been tested thoroughly. `Device("device1")` and `Device("device2")`. This allows testing of arrays on different devices, without the need for special hardware. `x.device` is always a `Device` object, and `device` keywords to creation - functions only accept these three device objects or `None`. A future version of + functions only accept the above three device objects or `None`. A future version of array-api-strict [may add support for a CuPy backend](https://github.com/data-apis/array-api-strict/issues/5) so that more significant device support can be tested.