Skip to content
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

Utilize the NumPy array function protocol. #49

Closed
carterbox opened this issue Apr 28, 2020 · 1 comment
Closed

Utilize the NumPy array function protocol. #49

carterbox opened this issue Apr 28, 2020 · 1 comment

Comments

@carterbox
Copy link
Contributor

Writing functions that specifically CuPy is not necessary anymore after NumPy 1.17 because of the array function protocol. Due to this API feature, NumPy functions that are passed CuPy arrays will automatically call the corresponding CuPy functions instead of trying to convert them to NumPy arrays.

https://numpy.org/neps/nep-0018-array-function-protocol.html

@carterbox
Copy link
Contributor Author

This features is not relevant since we dropped deprecated NumPy Operators.

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

No branches or pull requests

1 participant