summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SIMD: Test lookup table intrinsicsSayed Adel2022-01-192-3/+44
|
* SIMD: Add new universal intrinsics for lookup tableSayed Adel2022-01-195-0/+168
|
* ENH, SIMD: replace SVML/tanh with universal intrinsicsSayed Adel2022-01-195-5/+428
| | | | | | | To bring the benefits of performance for all platforms not just for avx512 on linux without performance/accuracy regression, actually the other way around, better performance and after all maintainable code.
* Merge pull request #20851 from EmmaSimon/patch-2Matti Picus2022-01-181-1/+1
|\ | | | | DOC: Fix typo in meshgrid example
| * DOC: Fix typo in meshgrid exampleEmma Simon2022-01-181-1/+1
|/ | | | | coordinate was misspelled in a comment in the example code [ci skip]
* Merge pull request #20829 from serge-sans-paille/feature/road-to-cxx-mergesortCharles Harris2022-01-183-512/+734
|\ | | | | MAINT: Translate mergesort.c.src to C++ using templates.
| * Convert mergesort.c.src to mergesort.cppserge-sans-paille2022-01-163-512/+734
| |
* | Merge pull request #20834 from rjeb/doc-ndarrayargmaxmin-paramsMatti Picus2022-01-181-2/+2
|\ \ | | | | | | DOC: Update ndarray.argmax + argmin documentation with keepdims param #20700
| * | Update ndarray argmax-argmin docstring with correct keyword and default ↵Jason Thai2022-01-171-2/+2
| | | | | | | | | | | | parameter
| * | Update ndarray argmax+min docstrings with keepdims paramJason Thai2022-01-161-2/+2
| | |
* | | DOC: Restore MaskedArray.hardmask documentation (#20810)Hans Meine2022-01-181-8/+51
| | |
* | | Merge pull request #20821 from rafaelcfsousa/p10_enablementMatti Picus2022-01-189-30/+88
|\ \ \ | | | | | | | | ENH: Add CPU feature detection for POWER10 (VSX4)
| * | | TST: Add CPU dispatch/baseline tests for VSX4Rafael Cardoso Fernandes Sousa2022-01-172-7/+7
| | | |
| * | | DOC: Update CPU features table with VSX4Rafael Cardoso Fernandes Sousa2022-01-171-14/+16
| | | |
| * | | STY: Fix linter issueRafael Cardoso Fernandes Sousa2022-01-141-1/+2
| | | |
| * | | ENH: Add CPU feature detection for VSX4 (Power10)Rafael Cardoso Fernandes Sousa2022-01-137-9/+64
| | | |
* | | | Merge pull request #20285 from HowJMay/simd-floorMatti Picus2022-01-187-22/+163
|\ \ \ \ | | | | | | | | | | ENH, SIMD: add new universal intrinsics for floor/rint
| * | | | SIMD: add universal intrinsic for round to nearestSayed Adel2021-12-196-24/+69
| | | | |
| * | | | SIMD: fix signed zero of SSE2/FloorSayed Adel2021-12-131-12/+37
| | | | |
| * | | | ENH, SIMD: add new universal intrinsics for floorHowJMay2021-12-127-3/+74
| | | | |
* | | | | Merge pull request #20847 from rgommers/fix-mingw-warningCharles Harris2022-01-181-6/+0
|\ \ \ \ \ | | | | | | | | | | | | MAINT: remove outdated mingw32 fseek support
| * | | | | MAINT: remove outdated mingw32 fseek supportRalf Gommers2022-01-181-6/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `_fseeki64` and `_ftelli64` have been present in mingw-w64 for a long time, see https://github.com/mingw-w64/mingw-w64/commit/d66350ea60d043a8992ada752040fc4ea48537c3 This fixes an annoying build warning in the SciPy Meson build: ``` C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages\numpy\core\include/numpy/npy_common.h:185:20: warning: 'int _fseeki64(FILE*, long long int, int)' redeclared without dllimport attribute after being referenced with dll linkage 185 | extern int __cdecl _fseeki64(FILE *, long long, int); | ^~~~~~~~~ C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages\numpy\core\include/numpy/npy_common.h:186:26: warning: 'long long int _ftelli64(FILE*)' redeclared without dllimport attribute after being referenced with dll linkage 186 | extern long long __cdecl _ftelli64(FILE *); | ^~~~~~~~~ ``` It's only happening for Pythran extensions, because Pythran uses `fseek`. The cause is otherwise unrelated to Pythran though, it's `npy_common.h` redefining something that's in mingw-w64.
* | | | | Merge pull request #15844 from dcaliste/typeMelissa Weber Mendonça2022-01-174-1/+47
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | ENH: add inline definition of access rights for Fortran typesDamien Caliste2022-01-044-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to parse type definition with inline acess specifier, like: type, public :: foo end type foo
* | | | | Merge pull request #20833 from hoodmane/compare-npy-unusedSebastian Berg2022-01-161-3/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | | BUG: Fix comparator function signatures
| * | | | BUG: Fix comparator function signaturesHood Chatham2022-01-161-3/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comparator functions are expected to have signature int f(void *, void*, PyArrayObject *). Some of the comparators drop the third argument because they don't use them. Because the comparators are unused, with most architectures this works fine. However, calling a function pointer that has been cast to have a different number of arguments is undefined in the C specification. With web assembly targets, it crashes at runtime. This fixes the comparators defined in arraytypes.c.src to all take three arguments. See also related work: 258ce2523ffad99be69afbd421d540086cb6bf61 23c05e6f1b392f80f749dbb4668b5e7b52aef014
* | | | Merge pull request #20828 from serge-sans-paille/feature/road-to-cxx-heapsortCharles Harris2022-01-153-403/+620
|\ \ \ \ | | | | | | | | | | MAINT: Translate heapsort.c.src to C++ using templates
| * | | | Convert heapsort to C++serge-sans-paille2022-01-153-403/+620
| | | | |
* | | | | Merge pull request #20732 from serge-sans-paille/feature/road-to-cxx-timsortCharles Harris2022-01-154-571/+1027
|\ \ \ \ \ | |/ / / / | | | | | Convert timsort.c.src to C++
| * | | | Convert timsort.c.src to C++serge-sans-paille2022-01-144-571/+1027
| | | | |
* | | | | Merge pull request #20823 from charris/post-1.22.1-release-updateCharles Harris2022-01-154-0/+113
|\ \ \ \ \ | | | | | | | | | | | | REL: Update main after 1.22.1 release.
| * | | | | REL: Update main after 1.22.1 release.Charles Harris2022-01-154-0/+113
| | |_|_|/ | |/| | |
* | | | | Merge pull request #20827 from BvB93/realCharles Harris2022-01-151-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | | TYP: Fix pyright being unable to infer the `real` and `imag` output type
| * | | | TYP: Fix pyright being unable to infer the `real` and `imag` output typeBas van Beek2022-01-151-2/+2
|/ / / /
* | | | Merge pull request #20818 from ↵Sebastian Berg2022-01-147-2/+86
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | lpsinger/test-third-party-c-extensions-limited-api BUG: Fix build of third-party extensions with Py_LIMITED_API
| * | | | TST: Split example package, skip limited API test for debugLeo Singer2022-01-136-18/+68
| | | | |
| * | | | TST: Test building third party C extensions with Py_LIMITED_APILeo Singer2022-01-132-2/+32
| | | | | | | | | | | | | | | | | | | | Fixes #13784.
| * | | | BUG: Fix build of third-party extensions with Py_LIMITED_APILeo Singer2022-01-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The type `vectorcallfunc` is not defined by Python's limited API. Guard its use with a `#ifdef` so that third-party extensions that use the Numpy C API will build with Py_LIMITED_API defined. This fixes a regression introduced in #20315.
* | | | | Merge pull request #20747 from lithomas1/patch-2Matti Picus2022-01-141-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | BLD: Upload wheel artifacts separately [wheel build]
| * | | | BLD: Upload wheel artifacts separately [wheel build]Thomas Li2022-01-051-0/+1
| | | | |
* | | | | Merge pull request #20791 from honno/xp-inverse-indicesCharles Harris2022-01-132-5/+34
|\ \ \ \ \ | | | | | | | | | | | | BUG: Return correctly shaped inverse indices in `array_api` set functions
| * | | | | Regression test for inverse indices in `array_api` set functionsMatthew2022-01-131-0/+19
| | | | | |
| * | | | | BUG: Return correctly shaped inverse indices in `array_api`Matthew2022-01-131-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | Specifically for `xp.unique_all()` and `xp.unique_inverse()`
* | | | | | DOC: discard repeated words in NEPs (#20816)Dimitri Papadopoulos Orfanos2022-01-135-9/+9
| |_|/ / / |/| | | |
* | | | | Merge pull request #20811 from DimitriPapadopoulos/repeatedCharles Harris2022-01-1335-44/+43
|\ \ \ \ \ | | | | | | | | | | | | MAINT, DOC: discard repeated words
| * | | | | MAINT, DOC: discard repeated wordsDimitri Papadopoulos2022-01-1335-44/+43
| |/ / / /
* | | | | Merge pull request #20813 from DimitriPapadopoulos/handelMatti Picus2022-01-131-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | MAINT: fix typo
| * | | | MAINT: fix typoDimitri Papadopoulos2022-01-131-1/+1
|/ / / / | | | | | | | | | | | | Introduced in 0d171288.
* | | | Merge pull request #20784 from DimitriPapadopoulos/codespellCharles Harris2022-01-1215-18/+18
|\ \ \ \ | | | | | | | | | | MAINT, DOC: fix new typos detected by codespell
| * | | | MAINT, DOC: fix new typos detected by codespellDimitri Papadopoulos2022-01-1215-18/+18
| | | | |