Skip to content

Clean up dead code guarded by outdated oneMKL and DPC++ version checks#2999

Merged
antonwolfy merged 3 commits into
masterfrom
code-cleanup
Jul 15, 2026
Merged

Clean up dead code guarded by outdated oneMKL and DPC++ version checks#2999
antonwolfy merged 3 commits into
masterfrom
code-cleanup

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Since the build and runtime minimum was raised to oneMKL / DPC++ compiler 2026.0 (conda-recipe/meta.yaml), several preprocessor and version guards now select a fixed branch on every supported configuration. This PR removes the resulting dead code and replaces version comparisons with the condition they actually encode.

  • 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

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev3=py313h509198e_4 ran successfully.
Passed: 1373
Failed: 2
Skipped: 5

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you @antonwolfy

@antonwolfy
antonwolfy merged commit 8a9b1a3 into master Jul 15, 2026
77 of 84 checks passed
@antonwolfy
antonwolfy deleted the code-cleanup branch July 15, 2026 09:54
github-actions Bot added a commit that referenced this pull request Jul 15, 2026
#2999)

Since the build and runtime minimum was raised to **oneMKL / DPC++
compiler 2026.0** (`conda-recipe/meta.yaml`), several preprocessor and
version guards now select a fixed branch on every supported
configuration. This PR removes the resulting dead code and replaces
version comparisons with the condition they actually encode. 8a9b1a3
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