Skip to content

ENH: SIMD architectures to show_config#19390

Merged
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-19130
Jul 1, 2021
Merged

ENH: SIMD architectures to show_config#19390
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-19130

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jul 1, 2021

Backport of #19130.

Changes:

Added SIMD dispatch information in np.show_config

Closes gh-18490

Sample output:

>>> np.show_config()
.
.
.
Supported SIMD extensions in this NumPy install:
    baseline = SSE,SSE2,SSE3
    found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2
    not found = AVX512F,AVX512CD,AVX512_KNL,AVX512_KNM,AVX512_SKX,AVX512_CLX,AVX512_CNL,AVX512_ICL

Note: Not sure about changes in np.distutils.cpuinfo, I can add in the same PR with a bit more info.

@charris charris added 01 - Enhancement 08 - Backport Used to tag backport PRs labels Jul 1, 2021
@charris charris added this to the 1.21.1 release milestone Jul 1, 2021
@charris charris merged commit c33a4eb into numpy:maintenance/1.21.x Jul 1, 2021
@charris charris deleted the backport-19130 branch July 1, 2021 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

01 - Enhancement 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants