Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Sep 23, 2025

The PR add the implementation of dpnp.special.erfc function, including tests coverage.

Also it reworks the previous implementation of erf function to reduce future code duplication. because most of erf-like function has the same types supported and similar signature.

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

@antonwolfy antonwolfy self-assigned this Sep 23, 2025
Copy link
Contributor

github-actions bot commented Sep 23, 2025

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

Copy link
Contributor

github-actions bot commented Sep 23, 2025

Array API standard conformance tests for dpnp=0.19.0dev6=py313h509198e_22 ran successfully.
Passed: 1227
Failed: 0
Skipped: 9

@antonwolfy antonwolfy changed the title Implement dpnp.erfc through pybind11 extension Added implementation of dpnp.special.erfc Sep 23, 2025
@antonwolfy antonwolfy marked this pull request as ready for review September 23, 2025 15:22
@antonwolfy antonwolfy added this to the 0.19.0 release milestone Sep 23, 2025
@coveralls
Copy link
Collaborator

coveralls commented Sep 25, 2025

Coverage Status

coverage: 71.998% (-0.1%) from 72.098%
when pulling 458786d on impl-erfc
into 99f96cf on master.

Copy link
Collaborator

@vlad-perevezentsev vlad-perevezentsev 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 @antonwolfy for erfc implementation and the helpful code simplifications by introducing shared init dispatch templates

@antonwolfy antonwolfy merged commit 8906b0e into master Sep 25, 2025
75 checks passed
@antonwolfy antonwolfy deleted the impl-erfc branch September 25, 2025 14:34
github-actions bot added a commit that referenced this pull request Sep 25, 2025
The PR add the implementation of `dpnp.special.erfc` function, including
tests coverage.

Also it reworks the previous implementation of erf function to reduce
future code duplication. because most of erf-like function has the same
types supported and similar signature. 8906b0e
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