Skip to content

Add __main__.py for CLI options to get libtensor include dirs from module#2836

Merged
ndgrigorian merged 2 commits intoinclude-dpctl-tensorfrom
add-main-py
Apr 10, 2026
Merged

Add __main__.py for CLI options to get libtensor include dirs from module#2836
ndgrigorian merged 2 commits intoinclude-dpctl-tensorfrom
add-main-py

Conversation

@ndgrigorian
Copy link
Copy Markdown
Collaborator

This PR proposes module CLI options that allow users to get a path to the libtensor include dir or to get include flags for libtensor

This streamlines workflow for users building native extensions

  • 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 marked this pull request as ready for review April 3, 2026 05:49
@ndgrigorian ndgrigorian changed the base branch from include-dpctl-tensor to move_dpctl_ext_to_dpnp_tensor April 3, 2026 06:09
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

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

Base automatically changed from move_dpctl_ext_to_dpnp_tensor to include-dpctl-tensor April 8, 2026 14:57
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 8, 2026

Coverage Status

Coverage is 77.185%add-main-py into include-dpctl-tensor. No base build found for include-dpctl-tensor.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

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

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.

Thank you @ndgrigorian, LGTM

@ndgrigorian ndgrigorian merged commit 761573c into include-dpctl-tensor Apr 10, 2026
67 of 73 checks passed
@ndgrigorian ndgrigorian deleted the add-main-py branch April 10, 2026 19:08
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