array-api-tests icon indicating copy to clipboard operation
array-api-tests copied to clipboard

Test device support

Open asmeurer opened this issue 1 year ago • 3 comments

Basic device support should be tested. In particular, we can test things like whether mixing devices properly raises an exception in all functions (this would be useful for the array-api-strict library, which implements this but it currently isn't tested). We can also test things like that the output device is equal to the input device.

asmeurer avatar Nov 14 '24 20:11 asmeurer

Cross-ref https://github.com/data-apis/array-api-strict/issues/134

ev-br avatar Mar 23 '25 19:03 ev-br

https://github.com/scipy/scipy/pull/22756 for pattern on how to test device propagation from input to output

crusaderky avatar Mar 31 '25 10:03 crusaderky

@tylerjereddy FYI

crusaderky avatar Mar 31 '25 10:03 crusaderky