Skip to content

ENH: add a no x64 device#224

Open
ev-br wants to merge 5 commits into
data-apis:mainfrom
ev-br:no_x64_device
Open

ENH: add a no x64 device#224
ev-br wants to merge 5 commits into
data-apis:mainfrom
ev-br:no_x64_device

Conversation

@ev-br

@ev-br ev-br commented Jul 12, 2026

Copy link
Copy Markdown
Member

Add a "no_x64" device which only supports 32-bit ints and floats.

This device mimics the JAX's default (and the name follows the JAX jax_enable_x64 flag name).
As discussed and requested in the Array API meeting on Jul 09.

For convenience, this PR is on top of gh-221, so only the last commit, c180b0e, is relevant.
Since we're getting a 2.6.1 release "quickly", and a no_float64 device was added in 2.6, I'm thinking about sneaking this new device into 2.6.1, too. Thoughts?

@ev-br ev-br requested a review from betatim July 12, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant