diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2018-05-17 19:13:32 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2018-05-17 19:13:32 +0200 |
commit | f461570e69eb290a77baf8fee1b169057ee02d0d (patch) | |
tree | 07193ddf4a0ee7ba4add7a2aa594bf2aa657ad2f /numpy | |
parent | 08b38dc4e46e37e36dbb7db2b65ae1f35fc67952 (diff) | |
download | numpy-f461570e69eb290a77baf8fee1b169057ee02d0d.tar.gz |
BUG: fix case of ISA selector in ufunc selection
The function expects lowercase so we accidentally turned of avx support
completely.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/code_generators/generate_umath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py index 112af9a34..632bcb41f 100644 --- a/numpy/core/code_generators/generate_umath.py +++ b/numpy/core/code_generators/generate_umath.py @@ -972,7 +972,7 @@ def make_arrays(funcdict): for vt in t.simd: code2list.append(textwrap.dedent("""\ #ifdef HAVE_ATTRIBUTE_TARGET_{ISA} - if (npy_cpu_supports("{ISA}")) {{ + if (npy_cpu_supports("{isa}")) {{ {fname}_functions[{idx}] = {type}_{fname}_{isa}; }} #endif |