Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Oct 28, 2024

The PR proposes to add implementation of dpnp.sinc function.

The new dedicated _sinc function is added to _ufunc_impl pybind11 extension.
All the required tests are implemented to cover the new function.

  • 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 Oct 28, 2024
Copy link
Contributor

github-actions bot commented Oct 28, 2024

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

@antonwolfy antonwolfy marked this pull request as ready for review October 29, 2024 12:04
Copy link
Collaborator

@vtavana vtavana left a comment

Choose a reason for hiding this comment

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

Thank you, @antonwolfy!

@antonwolfy antonwolfy merged commit 5a39d91 into master Nov 4, 2024
45 of 46 checks passed
@antonwolfy antonwolfy deleted the impl-sinc branch November 4, 2024 14:51
github-actions bot added a commit that referenced this pull request Nov 4, 2024
* Add _sinc to ufunc extension

* Add dpnp.sinc function to the interface

* Add third party tests

* Add complex type handling

* Mute tests for dono.i0

* Add CFD tests

* Add more tests to cover different use cases

* Add a proper handling of corner cases

* Update dpnp/dpnp_iface_mathematical.py

Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>

* Removed limitation block

* Use dedicated DPNPSinc class for dpnp.sinc implementation

---------

Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com> 5a39d91
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.

2 participants