Skip to content

Add C API functions back to _usmarray.pyx#2866

Open
ndgrigorian wants to merge 5 commits intomasterfrom
add-api-functions-to-usmarray
Open

Add C API functions back to _usmarray.pyx#2866
ndgrigorian wants to merge 5 commits intomasterfrom
add-api-functions-to-usmarray

Conversation

@ndgrigorian
Copy link
Copy Markdown
Collaborator

Removal of C API functions meant that if a downstream extension were to use any getters implemented by dpnp::tensor::usm_ndarray, it would require recompilation if the ABI is changed.

C API functions prevent this

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

@ndgrigorian ndgrigorian force-pushed the add-api-functions-to-usmarray branch from 7592127 to c36166f Compare April 21, 2026 01:20
@github-actions
Copy link
Copy Markdown
Contributor

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

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 21, 2026

Coverage Status

coverage: 78.307% (-0.1%) from 78.429% — add-api-functions-to-usmarray into master

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

Array API standard conformance tests for dpnp=0.20.0dev6=py313h509198e_18 ran successfully.
Passed: 1355
Failed: 5
Skipped: 16

@ndgrigorian ndgrigorian force-pushed the add-api-functions-to-usmarray branch from 06f76db to 15664be Compare April 21, 2026 15:36
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