-
Notifications
You must be signed in to change notification settings - Fork 30
Implements dpctl.tensor.any and dpctl.tensor.all #1204
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
Conversation
3edc280
to
9d05a14
Compare
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_50 ran successfully. |
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1204/index.html |
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_50 ran successfully. |
- Tests refactored into more generic tests parametrized by function and identity - Randrange used to make tests more robust - Tests now cover branch in kernel for wide vs. skinny arrays
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_52 ran successfully. |
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_55 ran successfully. |
This PR requires docstrings |
- Now initialized by a single function call - Moved boolean reduction template into header
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_56 ran successfully. |
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_57 ran successfully. |
This case now circumvents the call to permute_dims completely Tests were updated to reflect this change and cover both branches Also added a test for the axis=() case
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_62 ran successfully. |
I think this PR is ready. The last change helped as witnessed by performance gap between
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_62 ran successfully. |
This pull request implements
dpctl.tensor.all
anddpctl.tensor.any
.