Skip to content
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

Adopt dpnp interface to asynchronous dpctl execution (Part #1) #1897

Merged
merged 13 commits into from
Jul 2, 2024

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jun 26, 2024

There were the changes in dpctl interface to make it asynchronous. It caused a number of dpnp tests failing.

On the first stage it is proposed to update dpnp and to adopt with that dpctl changes, but to avoid implementing any change in dpnp interface. There will be no asynchronous handling introduce in dpnp by that stage.

Even with the first stage there are a lot of the changes assumed, because dpnp has to reconsider usage of dpctl interface.
Thus the adaptation will be implemented through several independent PRs separated by dpnp functional blocks.

That PR propose to update all dpnp functions from array creation, elementwise, manipulation, counting and histogram functional blocks.

Even that PR is enough to stabilize the public CI and to have GitHub actions back to green status. It should be helpful and to unblock other PRs which are under review now.

The work on remaining dpnp functions will be continued by further PRs.

  • 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 self-assigned this Jun 26, 2024
Copy link
Contributor

github-actions bot commented Jun 26, 2024

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

@antonwolfy antonwolfy force-pushed the adopt-to-asynchronous-dpctl-execution branch from b106919 to fcc66b0 Compare July 1, 2024 15:31
@antonwolfy antonwolfy changed the title Adopt dpnp interface to asynchronous dpctl execution Adopt dpnp interface to asynchronous dpctl execution (Part #1) Jul 1, 2024
@antonwolfy antonwolfy marked this pull request as ready for review July 1, 2024 16:34
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!

@antonwolfy antonwolfy merged commit 1a4f8a4 into master Jul 2, 2024
23 checks passed
@antonwolfy antonwolfy deleted the adopt-to-asynchronous-dpctl-execution branch July 2, 2024 14:50
github-actions bot added a commit that referenced this pull request Jul 2, 2024
* Update manipulation functions

* Update functions from the array creation container

* Update dpnp array methods

* Implement backward compatible solution

* dpnp.meshgrid has to follow CFD and prohibit input arrays allocating on different SYCL queues

* updated linspace, logspace and geomspace functions

* Updated elementwise functions and astype

* Updated counting and histogram functions

* Switched back to use dppy/label/dev for coverage GH action

* Removed dpnp_container.linspace since unused

* Return dpnp ndarray for linspace, logspace and geomspace internal functions 1a4f8a4
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