Skip to content

Test device support #302

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

  1. ev-br commented on Mar 23, 2025

    @ev-br
    Member
  2. added and removed on Mar 23, 2025
  3. crusaderky commented on Mar 31, 2025

    @crusaderky
    Contributor

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

  4. crusaderky commented on Mar 31, 2025

    @crusaderky
    Contributor
  5. prady0t commented on Jul 26, 2026

    @prady0t
    Contributor

    Some discussions around this topic: #443 (comment)

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