summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorDeveloper-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com>2022-08-23 12:53:48 -0700
committerDeveloper-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com>2022-08-23 12:53:48 -0700
commit28c8e9224f887a56936cf5f18423b426704334c2 (patch)
tree01eb937a32823bf2786182171a2aef2aeec2022e /numpy/array_api/_creation_functions.py
parentd8c09c50ef2e90f0db7395e70d2d8fa11921abc5 (diff)
downloadnumpy-28c8e9224f887a56936cf5f18423b426704334c2.tar.gz
ENH: Remove AVX related functions from non x86 based builds
Apple silicon builds of NumPy have extra functions in them for AVX2/AVX512. The changes here remove those implementations if we're not building for x86. Apple silicon: - original size: 3946035 bytes - new size: 3657731 bytes - savings: 288304 bytes (7.31%) Changes pass all tests on M1 native, M1 Rosetta, and iMacPro (AVX512). We've verified performance is the same before/after for Rosetta and iMacPro. We've also verified that binaries are exactly the same size and have the same number of symbols in them.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions