Skip to content

Fix bad order=K code logic in tensor.asarray #1351

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 2 commits into from
Aug 17, 2023
Merged

Conversation

oleksandr-pavlyk
Copy link
Contributor

Closes gh-1350

dpctl.tensor.asarray implementation of order='K' keyword processing was replaced with call to tested _empty_like_orderK utility to fix the issue reported in gh-1350.

Few routines had to be shuffled to avoid import failure due to circular import dependencies.

  • 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?
  • If this PR is a work in progress, are you opening the PR as a draft?

@github-actions
Copy link

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.6dev3=py310h7bf5fec_7 ran successfully.
Passed: 913
Failed: 87
Skipped: 119

dpctl.tensor.asarray implementation of order='K' processing
was replaced with tested _empty_like_orderK utility to fix
the issue reported in gh-1350.

Few routines had to be shuffled to avoid import failure due to
circular import dependencies.
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 85.041% (+0.09%) from 84.95% when pulling 43b9c06 on fix-gh-1350 into 47c82f5 on master.

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.6dev3=py310ha25a700_13 ran successfully.
Passed: 913
Failed: 87
Skipped: 119

Copy link
Collaborator

@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.

The issue is resolved, no new problem observed by dpnp tests scope. Thank you @oleksandr-pavlyk !

@oleksandr-pavlyk oleksandr-pavlyk merged commit 9c18949 into master Aug 17, 2023
@oleksandr-pavlyk oleksandr-pavlyk deleted the fix-gh-1350 branch August 17, 2023 11:41
@github-actions
Copy link

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.6dev3=py310ha25a700_13 ran successfully.
Passed: 913
Failed: 87
Skipped: 119

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.

Copy usm_ndarray fails with order='K'
4 participants