Skip to content

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

Open
antonwolfy wants to merge 3 commits into
masterfrom
code-cleanup
Open

Clean up dead code guarded by outdated oneMKL and DPC++ version checks#2999
antonwolfy wants to merge 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

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2999/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

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