8000 DOC: add a release note · numpy/numpy@64f7074 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64f7074

Browse files
mattipseiko2plus
authored andcommitted
DOC: add a release note
1 parent ad17400 commit 64f7074

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/release/13421.improvement.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Improve detection of CPU features
2+
=================================
3+
4+
Replace ``npy_cpu_supports`` which was a gcc-specific mechanism to test support
5+
of avx with more general functions ``npy_cpu_init`` and ``npy_cpu_have``, and
6+
expose the results via a ``NPY_CPU_HAVE`` c-macro as well as a python-level
7+
``__cpu_features__`` dictionary.
8+

doc/release/upcoming_changes/template.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
{% if definitions[category]['showcontent'] %}
1818
{% for text, values in sections[section][category].items() %}
1919
{{ text }}
20+
2021
{{ get_indent(text) }}({{values|join(', ') }})
2122

2223
{% endfor %}

0 commit comments

Comments
 (0)
0