Skip to content

Move dpctl_ext.tensor to dpnp.tensor#2829

Open
vlad-perevezentsev wants to merge 37 commits intoremove_c_api_tensorfrom
move_dpctl_ext_to_dpnp_tensor
Open

Move dpctl_ext.tensor to dpnp.tensor#2829
vlad-perevezentsev wants to merge 37 commits intoremove_c_api_tensorfrom
move_dpctl_ext_to_dpnp_tensor

Conversation

@vlad-perevezentsev
Copy link
Copy Markdown
Contributor

@vlad-perevezentsev vlad-perevezentsev commented Mar 25, 2026

This PR proposes a refactoring that migrates dpctl_ext.tensor module into dpnp package as dpnp.tensor

Changes:

  1. Moved dpctl_ext/tensor/ directory to dpnp/tensor/
  2. Updated all imports from dpctl_ext.tensor to dpnp.tensor across the codebase
  3. Consolidated build: removed dpctl_ext/CMakeLists.txt, added build_dpnp_tensor_ext() to dpnp/CMakeLists.txt
  4. Added DPNP_BUILD_COMPONENTS CMake option (ALL/TENSOR_ONLY/SKIP_TENSOR) for staged builds
  5. Split coverage workflow into two steps to avoid memory issues
  6. Updated include paths in all backend extension CMake files
  7. Removed dpctl_ext/ directory and cleaned up .gitignore
  • 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?

@vlad-perevezentsev vlad-perevezentsev changed the title Move dpctl ext to dpnp tensor Move dpctl_ext.tensor to dpnp.tensor Mar 25, 2026
@vlad-perevezentsev vlad-perevezentsev self-assigned this Mar 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 25, 2026

Array API standard conformance tests for dpnp=0.20.0dev3=py313h509198e_336 ran successfully.
Passed: 1355
Failed: 2
Skipped: 16

@vlad-perevezentsev vlad-perevezentsev force-pushed the move_dpctl_ext_to_dpnp_tensor branch from c4613fe to 7c90dc7 Compare March 26, 2026 11:38
Base automatically changed from move_usm_ndarray to include-dpctl-tensor March 31, 2026 08:06
@vlad-perevezentsev vlad-perevezentsev changed the base branch from include-dpctl-tensor to remove_c_api_tensor March 31, 2026 11:07
@vlad-perevezentsev vlad-perevezentsev marked this pull request as ready for review March 31, 2026 14:07
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.

1 participant