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

impl_usage_dpctl_bitwise_op #1508

Merged
merged 2 commits into from
Aug 16, 2023
Merged

impl_usage_dpctl_bitwise_op #1508

merged 2 commits into from
Aug 16, 2023

Conversation

vtavana
Copy link
Collaborator

@vtavana vtavana commented Aug 4, 2023

The PR uses dpctl.tensor implementation for bitwise_and, bitwise_or, bitwise_xor, invert, left_shift, and right_shift functions.

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2023

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

@vtavana vtavana self-assigned this Aug 4, 2023
Copy link
Contributor

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please also keep in mind and update tests/third_party/cupy/binary_tests/test_elementwise.py::TestElementwise and to try to replace @testing.for_dtypes(...) with @testing.for_int_dtypes() there, once the last bitwise op is done.

dpnp/dpnp_algo/dpnp_elementwise_common.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_bitwise.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_bitwise.py Show resolved Hide resolved
dpnp/dpnp_iface_bitwise.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_bitwise.py Outdated Show resolved Hide resolved
dpnp/dpnp_iface_bitwise.py Outdated Show resolved Hide resolved
@vtavana vtavana force-pushed the use_dpctl_bitwise_op branch 6 times, most recently from 1c7c397 to 20bf44e Compare August 8, 2023 12:06
@vtavana vtavana marked this pull request as ready for review August 8, 2023 15:12
Copy link
Contributor

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you @vtavana

@vtavana vtavana force-pushed the use_dpctl_bitwise_op branch 4 times, most recently from 77bb04d to 2cd3fb0 Compare August 14, 2023 15:56
@vtavana vtavana merged commit 42e02d9 into master Aug 16, 2023
20 of 26 checks passed
@vtavana vtavana deleted the use_dpctl_bitwise_op branch August 16, 2023 15:14
vtavana added a commit that referenced this pull request Aug 16, 2023
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