Skip to content

CuPy support #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9f2afe8
Add a get_xp decorator to support multiple array namespaces
asmeurer Nov 15, 2022
e9c52c4
Add get_xp decorator to genericize the namespace for the aliases
asmeurer Nov 17, 2022
1751356
Require the namespace argument to asarray() when it's ambiguous
asmeurer Nov 17, 2022
b3a12d9
Move all the NumPy functionality into a numpy submodule
asmeurer Nov 18, 2022
cf4083a
Move the wrapper code into common/, and make linalg use @get_xp
asmeurer Nov 29, 2022
7333696
Move _typing.py from numpy/ to common/
asmeurer Nov 29, 2022
076848e
Add a cupy submodule
asmeurer Nov 29, 2022
ed5705f
Rename numpy_array_api_compat/ to array_api_compat/
asmeurer Nov 29, 2022
420c0da
Add __array_api_version__
asmeurer Nov 29, 2022
005852f
Remove library-specific stuff from common/_typing.py
asmeurer Nov 29, 2022
2912c9e
Refactor how get_xp works
asmeurer Nov 29, 2022
5775b11
Rename common.linalg to common._linalg
asmeurer Nov 29, 2022
936a8ad
Fix arange()
asmeurer Nov 29, 2022
d88f709
Fix cupy asarray to create cupy arrays instead of numpy arrays
asmeurer Nov 29, 2022
360ea18
Re-enable the signature fix in get_xp
asmeurer Nov 29, 2022
fece5e0
Fix some issues with the linalg wrapping
asmeurer Nov 29, 2022
c91360b
Export helpers to the top-level namespace
asmeurer Nov 30, 2022
d19c1a2
Fix full_like and linspace
asmeurer Nov 30, 2022
6c54b6b
Fix permute_dims
asmeurer Nov 30, 2022
e996d22
Add more information to the README
asmeurer Dec 1, 2022
82365eb
Add a test that vendoring works
asmeurer Dec 1, 2022
a83b15c
Fixes to the README
asmeurer Dec 1, 2022
8d2d37a
Fix missing sentence in the README
asmeurer Dec 5, 2022
732b493
Move vendor_test to the top-level
asmeurer Dec 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading