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

Permit "same_kind" casting for element-wise in-place operators #2170

Merged
merged 12 commits into from
Jan 11, 2025

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Nov 13, 2024

The PR proposes to permit "same_kind" casting for element-wise in-place operators. The implementation leverages on dpctl changes added in scope of PR#1827.

It also adds callbacks to support in-place bit-wise operators (leverages on dpctl changes from RR#1447).

The PR removes a temporary workaround from dpnp.wrap which depends on the implemented changes.

  • 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?

@antonwolfy antonwolfy self-assigned this Nov 13, 2024
Copy link
Contributor

github-actions bot commented Nov 13, 2024

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

@antonwolfy antonwolfy force-pushed the in-place-element-wise-func-casting branch 2 times, most recently from 5cb5319 to 9a41bf9 Compare November 25, 2024 15:49
@antonwolfy antonwolfy force-pushed the in-place-element-wise-func-casting branch from ee5c848 to 86d5c69 Compare November 26, 2024 12:36
@antonwolfy antonwolfy marked this pull request as ready for review November 26, 2024 13:16
@coveralls
Copy link
Collaborator

coveralls commented Dec 13, 2024

Coverage Status

coverage: 65.094% (+0.005%) from 65.089%
when pulling 23f42fe on in-place-element-wise-func-casting
into f7c0938 on master.

@antonwolfy antonwolfy merged commit 3d02b6b into master Jan 11, 2025
57 of 58 checks passed
@antonwolfy antonwolfy deleted the in-place-element-wise-func-casting branch January 11, 2025 22:03
github-actions bot added a commit that referenced this pull request Jan 11, 2025
The PR proposes to permit `"same_kind"` casting for element-wise
in-place operators. The implementation leverages on dpctl changes added
in scope of [PR#1827](IntelPython/dpctl#1827).

It also adds callbacks to support in-place bit-wise operators (leverages
on dpctl changes from
[RR#1447](IntelPython/dpctl#1447)).

The PR removes a temporary workaround from `dpnp.wrap` which depends on
the implemented changes. 3d02b6b
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