Skip to content

Remove CBWR constants which are being dropped by MKL#173

Merged
ndgrigorian merged 3 commits intomasterfrom
drop-removed-cbwr-constants
Apr 8, 2026
Merged

Remove CBWR constants which are being dropped by MKL#173
ndgrigorian merged 3 commits intomasterfrom
drop-removed-cbwr-constants

Conversation

@ndgrigorian
Copy link
Copy Markdown
Collaborator

This PR proposes removing the CBWR constants which were deprecated (in documentation) and are being removed by MKL

@ndgrigorian ndgrigorian requested a review from antonwolfy as a code owner April 8, 2026 02:22
Copilot AI review requested due to automatic review settings April 8, 2026 02:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates mkl-service’s Conditional Numerical Reproducibility (CBWR/CNR) support to align with Intel oneMKL dropping several deprecated CBWR constants, removing those constants from the Cython MKL header declarations and the Python-facing branch mappings.

Changes:

  • Removed dropped CBWR constants from the mkl.h Cython declarations (.pxd).
  • Removed corresponding CBWR branch keyword mappings from cbwr_set, cbwr_get, and cbwr_get_auto_branch (.pyx).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
mkl/_mkl_service.pyx Removes dropped CBWR branch keyword mappings from CNR helper functions.
mkl/_mkl_service.pxd Removes dropped CBWR constant declarations to prevent build issues with newer MKL headers.

@ndgrigorian ndgrigorian force-pushed the drop-removed-cbwr-constants branch from ab1b5fc to 57e5110 Compare April 8, 2026 02:28
@antonwolfy antonwolfy added this to the 2.7.0 release milestone Apr 8, 2026
@ndgrigorian ndgrigorian force-pushed the drop-removed-cbwr-constants branch from 1aa25c8 to 95b29f9 Compare April 8, 2026 16:32
@ndgrigorian
Copy link
Copy Markdown
Collaborator Author

build_linux failures are transient HTTP failures and can be ignored

@ndgrigorian ndgrigorian requested a review from antonwolfy April 8, 2026 16:38
Copy link
Copy Markdown
Collaborator

@jharlow-intel jharlow-intel left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @ndgrigorian

Copy link
Copy Markdown
Collaborator

@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

@ndgrigorian ndgrigorian merged commit e2d504b into master Apr 8, 2026
116 of 121 checks passed
@ndgrigorian ndgrigorian deleted the drop-removed-cbwr-constants branch April 8, 2026 17:17
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