Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jul 21, 2025

The PR closes gh-2532.

In the faulty example the buffer was passed with .data of dpnp.ndarray. In that case there is no need to cast dpctl's usm_data to DPNP memory object.

  • 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?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Copy link
Contributor

github-actions bot commented Jul 21, 2025

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

Copy link
Contributor

github-actions bot commented Jul 21, 2025

Array API standard conformance tests for dpnp=0.19.0dev1=py313h509198e_18 ran successfully.
Passed: 1227
Failed: 0
Skipped: 9

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 72.095% (+0.003%) from 72.092%
when pulling d507e20 on resolve-gh-2532
into 81870b7 on master.

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 307fc66 into master Jul 21, 2025
119 of 121 checks passed
@antonwolfy antonwolfy deleted the resolve-gh-2532 branch July 21, 2025 14:26
github-actions bot added a commit that referenced this pull request Jul 21, 2025
…ty (#2533)

The PR closes gh-2532.

In the faulty example the buffer was passed with `.data` of
dpnp.ndarray. In that case there is no need to cast dpctl's `usm_data`
to DPNP memory object. 307fc66
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.

[dpnp.ndarray] data.ptr usage error
3 participants