Skip to content

Workaround to dpnp.allclose() #1568

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

Merged
merged 3 commits into from
Sep 22, 2023
Merged

Conversation

vlad-perevezentsev
Copy link
Collaborator

This PR resolves a problem with std::inf check that does not work on linux CPU.
It suggested change provides workaround to reliably detect positive and negative infinity values.

These changes should be removed when CMPLRLLVM-51856 is resolved

In addition I unskipped tests for dpnp.allclose on CPU. This should have been done in #1536

  • 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 Sep 22, 2023

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

@oleksandr-pavlyk
Copy link
Contributor

@vlad-perevezentsev can you please rebase this branch on top of master to remove duplicate changes to cmake scripts?

@vlad-perevezentsev vlad-perevezentsev merged commit 9746426 into master Sep 22, 2023
@vlad-perevezentsev vlad-perevezentsev deleted the workaround_allcloce branch September 22, 2023 17:59
@vlad-perevezentsev vlad-perevezentsev self-assigned this Sep 25, 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.

2 participants