Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(python): Add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_flags") #14758

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented Feb 29, 2024

Add missing "pclmulqdq" entry to read_cpu_flags() to prevent RuntimeError on import of 0.20.12. (The associated CPU feature flag is found on bit 1 of ECX1).

Closes #14759.

Footnotes

  1. https://en.wikipedia.org/wiki/CPUID

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Feb 29, 2024
@alexander-beedie alexander-beedie marked this pull request as ready for review February 29, 2024 07:50
@alexander-beedie alexander-beedie changed the title fix: add missing "pclmulqdq" instruction to cpu_check fix: add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_flags") Feb 29, 2024
@ritchie46 ritchie46 merged commit 6b8f8ba into pola-rs:main Feb 29, 2024
21 checks passed
@alexander-beedie alexander-beedie deleted the cpu-check branch February 29, 2024 07:59
@stinodego stinodego changed the title fix: add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_flags") fix: Add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_flags") Feb 29, 2024
@stinodego stinodego changed the title fix: Add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_flags") fix(python): Add missing "pclmulqdq" instruction to _cpu_check ("read_cpu_flags") Feb 29, 2024
@stinodego stinodego removed the rust Related to Rust Polars label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Polars Python 0.20.12] Importing polars fails due to 'RuntimeError: unknown feature flag "pclmulqdq"'
3 participants