Skip to content

Extend _tensor_elementwise_impl (unary) part 3#2801

Merged
vlad-perevezentsev merged 191 commits intoinclude-dpctl-tensorfrom
move_tensor_elementwise_impl_unary_par_3
Mar 18, 2026
Merged

Extend _tensor_elementwise_impl (unary) part 3#2801
vlad-perevezentsev merged 191 commits intoinclude-dpctl-tensorfrom
move_tensor_elementwise_impl_unary_par_3

Conversation

@vlad-perevezentsev
Copy link
Contributor

This PR extends _tensor_elementwise_impl with the remaining unary functions:

cbrt,
exp2,
proj,
real,
reciprocal,
round,
rsqrt,
sign,
signbit,
sin,
sinh,
sqrt,
square,
tan,
tanh,
trunc,

  • 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 marked this pull request as ready for review March 11, 2026 13:37
ndgrigorian
ndgrigorian previously approved these changes Mar 12, 2026
Copy link
Collaborator

@ndgrigorian ndgrigorian left a comment

Choose a reason for hiding this comment

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

same as in part 2, I didn't find any missing includes, it LGTM

antonwolfy
antonwolfy previously approved these changes Mar 17, 2026
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!

Base automatically changed from move_tensor_elementwise_impl_unary_par_2 to include-dpctl-tensor March 17, 2026 18:23
@vlad-perevezentsev vlad-perevezentsev dismissed stale reviews from antonwolfy and ndgrigorian March 17, 2026 18:23

The base branch was changed.

@github-actions
Copy link
Contributor

Array API standard conformance tests for dpnp=0.20.0dev3=py313h509198e_211 ran successfully.
Passed: 1355
Failed: 2
Skipped: 16

@vlad-perevezentsev vlad-perevezentsev merged commit 3a0c2ff into include-dpctl-tensor Mar 18, 2026
63 of 70 checks passed
@vlad-perevezentsev vlad-perevezentsev deleted the move_tensor_elementwise_impl_unary_par_3 branch March 18, 2026 11:26
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