summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-01-31 12:31:08 +0200
committerSayed Adel <seiko@imavr.com>2020-02-05 05:33:31 +0200
commit64f7074d243f72e33bfc74bdbc9fec1d85b117a1 (patch)
tree4a407dd62de28c7d87c16b903604a74c215fd1b1 /doc/release
parentad174001a869f42bb89ccff77ac3eec04a9d71e8 (diff)
downloadnumpy-64f7074d243f72e33bfc74bdbc9fec1d85b117a1.tar.gz
DOC: add a release note
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/13421.improvement.rst8
-rw-r--r--doc/release/upcoming_changes/template.rst1
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/13421.improvement.rst b/doc/release/13421.improvement.rst
new file mode 100644
index 000000000..6d4573aa3
--- /dev/null
+++ b/doc/release/13421.improvement.rst
@@ -0,0 +1,8 @@
+Improve detection of CPU features
+=================================
+
+Replace ``npy_cpu_supports`` which was a gcc-specific mechanism to test support
+of avx with more general functions ``npy_cpu_init`` and ``npy_cpu_have``, and
+expose the results via a ``NPY_CPU_HAVE`` c-macro as well as a python-level
+``__cpu_features__`` dictionary.
+
diff --git a/doc/release/upcoming_changes/template.rst b/doc/release/upcoming_changes/template.rst
index 9c8a3b5fc..997b4850e 100644
--- a/doc/release/upcoming_changes/template.rst
+++ b/doc/release/upcoming_changes/template.rst
@@ -17,6 +17,7 @@
{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
{{ text }}
+
{{ get_indent(text) }}({{values|join(', ') }})
{% endfor %}