Skip to content

Move _tensor_elementwise_impl (unary) extension and use it for dpnp#2795

Open
vlad-perevezentsev wants to merge 11 commits intomove_tensor_reductions_impl_extfrom
move_tensor_elementwise_impl_unary
Open

Move _tensor_elementwise_impl (unary) extension and use it for dpnp#2795
vlad-perevezentsev wants to merge 11 commits intomove_tensor_reductions_impl_extfrom
move_tensor_elementwise_impl_unary

Conversation

@vlad-perevezentsev
Copy link
Contributor

@vlad-perevezentsev vlad-perevezentsev commented Mar 3, 2026

This PR initializes _tensor_elementwise_impl pybind11 extension in dpctl_ext.tensor and extends dpctl_ext.tensor Python API with the part of unary functions :

abs
acos
acosh
angle
atan
atanh
bitwise_invert
ceil
conj

This is the first part of the work on migrating _tensor_elementwise_impl (unary)_

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an 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?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@vlad-perevezentsev vlad-perevezentsev self-assigned this Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

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


namespace py = pybind11;

namespace py = pybind11;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
namespace py = pybind11;

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.

1 participant