Skip to content

Conversation

vtavana
Copy link
Contributor

@vtavana vtavana commented Oct 5, 2024

In this PR, support for order="K" and order="A" is added to for dpnp.empty_like, dpnp.ones_like, dpnp.zeros_like and dpnp.full_like.

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

@vtavana vtavana self-assigned this Oct 5, 2024
Copy link
Contributor

github-actions bot commented Oct 5, 2024

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

@vtavana vtavana force-pushed the update_order_for_create_like_func branch from ae7cabd to e0baee1 Compare October 5, 2024 01:46
@vtavana vtavana marked this pull request as ready for review October 5, 2024 04:02
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! Thank you @vtavana

@vtavana vtavana merged commit 48515c8 into master Oct 7, 2024
42 checks passed
@vtavana vtavana deleted the update_order_for_create_like_func branch October 7, 2024 21:11
github-actions bot added a commit that referenced this pull request Oct 7, 2024
…s_like`, `dpnp.zeros_like` and `dpnp.full_like` (#2088)

* update order

* use flag.c_contiguous

* address comments

* raise ValueError with correct msg when an invalid order is given

* fix a bug when order is None 48515c8
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