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

Align with new array api version in dpctl #1774

Merged
merged 4 commits into from
Apr 5, 2024

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Apr 4, 2024

The PR aligns tests with the recent updates reductions over floating point data implemented in scope of IntelPython/dpctl#1621 as per the 2023.12 array API spec.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you filing the PR as a draft?

Copy link
Contributor

github-actions bot commented Apr 4, 2024

View rendered docs @ https://intelpython.github.io/dpnp/pull//index.html

@vtavana
Copy link
Collaborator

vtavana commented Apr 4, 2024

I think we should also update the docstring for relevant functions for returned array data type.
For instance: https://github.com/IntelPython/dpnp/blob/align-with-new-array-api-version-in-dpctl/dpnp/dpnp_iface_mathematical.py#L2805 is not valid any more.

@antonwolfy antonwolfy force-pushed the align-with-new-array-api-version-in-dpctl branch from 76e9d3d to 37d4b0e Compare April 4, 2024 20:20
@antonwolfy antonwolfy merged commit 5a3e078 into master Apr 5, 2024
45 checks passed
@antonwolfy antonwolfy deleted the align-with-new-array-api-version-in-dpctl branch April 5, 2024 13:16
github-actions bot added a commit to antonwolfy/dpnp that referenced this pull request Apr 5, 2024
* Use utility function from dpctl.tensor._type_utils

* Align sum and prod tests

* Align logsumexp and reduce_hypot tests

* Updated docstring of impacted functions 5a3e078
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.

3 participants