summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2021-06-27 19:50:25 +0200
committerSayed Adel <seiko@imavr.com>2021-06-27 20:20:24 +0200
commit51a089f5958fa0ec65b3f524d009f0e8d748d862 (patch)
tree330bd033ce1f3cfa09ebb018fc7311b22147a707 /numpy/array_api/_elementwise_functions.py
parentf8a30474faaa135ea1b23ad0184f74a19d8b480e (diff)
downloadnumpy-51a089f5958fa0ec65b3f524d009f0e8d748d862.tar.gz
BUG, SIMD: Fix detecting AVX512 features on Darwin
On Darwin, machines with AVX512 support, by default, threads are created with AVX512 masked off in XCR0 and an AVX-sized savearea is used. However, AVX512 capabilities are advertised in the commpage and via sysctl. For more information, check: - https://github.com/apple/darwin-xnu/blob/0a798f6738bc1db01281fc08ae024145e84df927/osfmk/i386/fpu.c#L175-L201 - https://github.com/golang/go/issues/43089 - https://github.com/numpy/numpy/issues/19319
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions