Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Aug 9, 2024

The PR proposes to extend dpnp.ndarray.copy method with device, sycl_queue and usm_type keywords.
Additionally, the description of sycl_queue keyword is aligned with other dpnp functions.

The tests are added to cover new keywords for dpnp.ndarray.copy and copy.copy methods.
Affected third party tests are unmuted.

  • 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 requested review from npolina4, vtavana and vlad-perevezentsev and removed request for npolina4 August 9, 2024 17:28
Copy link
Contributor

github-actions bot commented Aug 9, 2024

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

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!
I have made a few edits that are not directly tied to the sections being modified, which made it difficult to add comments. Therefore, I found it simpler to make these changes directly instead of suggesting where such modifications could be made.

@antonwolfy antonwolfy merged commit 6ae16ce into master Aug 12, 2024
34 of 45 checks passed
@antonwolfy antonwolfy deleted the add-cfd-keywords-to-ndarray-copy branch August 12, 2024 10:04
github-actions bot added a commit that referenced this pull request Aug 12, 2024
…ethod (#1976)

* Add device, sycl_queue and usm_type keywords to dpnp.ndarray.copy

* Align description of sycl_queue keyword

* Applied black formatting

* Updated third party tests

* Added tests for SYCL queue and USM device

* update fftfreq and rfftfreq docstring

---------

Co-authored-by: Vahid Tavanashad <vahid.tavanashad@intel.com>
Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com> 6ae16ce
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