Skip to content

Test device support #302

@asmeurer

Description

@asmeurer

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.

Activity

ev-br

ev-br commented on Mar 23, 2025

@ev-br
Member
added and removed on Mar 23, 2025
crusaderky

crusaderky commented on Mar 31, 2025

@crusaderky
Contributor

scipy/scipy#22756 for pattern on how to test device propagation from input to output

crusaderky

crusaderky commented on Mar 31, 2025

@crusaderky
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Test device support · Issue #302 · data-apis/array-api-tests