Skip to content

Move compute follows data utils#2840

Merged
vlad-perevezentsev merged 373 commits intoinclude-dpctl-tensorfrom
move_compute_follows_data_utils
Apr 10, 2026
Merged

Move compute follows data utils#2840
vlad-perevezentsev merged 373 commits intoinclude-dpctl-tensorfrom
move_compute_follows_data_utils

Conversation

@vlad-perevezentsev
Copy link
Copy Markdown
Contributor

@vlad-perevezentsev vlad-perevezentsev commented Apr 8, 2026

This PR proposes to move the file _compute_follows_data.pyx from dpctl.utils to dpnp.tensor as part of the migration of dpctl.tensor to dpnp.tensor

Changes

  • Moved file: dpctl/utils/_compute_follows_data.pyxdpnp/tensor/_compute_follows_data.pyx
  • Exports (now available from dpnp.tensor):
  • ExecutionPlacementError - exception for execution placement errors
  • get_execution_queue() - determine execution queue from input arrays
  • get_coerced_usm_type() - determine output USM type for compute-follows-data
  • validate_usm_type() - validate USM type specifications
  • 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?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Array API standard conformance tests for dpnp=0.20.0dev3=py313h509198e_403 ran successfully.
Passed: 1357
Failed: 3
Skipped: 16

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 10, 2026

Coverage Status

Coverage is 77.247%move_compute_follows_data_utils into include-dpctl-tensor. No base build found for include-dpctl-tensor.

@vlad-perevezentsev vlad-perevezentsev marked this pull request as ready for review April 10, 2026 11:33
Base automatically changed from move_tensor_tests to include-dpctl-tensor April 10, 2026 11:42
Copy link
Copy Markdown
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.

No more comments from me

@vlad-perevezentsev vlad-perevezentsev merged commit cf2a286 into include-dpctl-tensor Apr 10, 2026
65 of 72 checks passed
@vlad-perevezentsev vlad-perevezentsev deleted the move_compute_follows_data_utils branch April 10, 2026 15:19
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.

4 participants