summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Fix lint errorsRaghuveer Devulapalli2023-02-021-1/+2
| | | | | | | |
| * | | | | | | Add cpu test features for avx512fp16Raghuveer Devulapalli2023-02-021-1/+2
| | | | | | | |
| * | | | | | | BLD: Add compile and runtime checks for AVX512FP16Raghuveer Devulapalli2023-02-025-3/+75
| | | | | | | |
* | | | | | | | Merge pull request #23173 from peytondmurray/nep42-pyarray-arrfunc-compareSebastian Berg2023-02-182-10/+125
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ENH: Add PyArray_ArrFunc compare support for NEP42 dtypes
| * | | | | | | | ENH: Add PyArray_ArrFunc compare support for NEP42 dtypespdmurray2023-02-172-10/+125
| | | | | | | | |
* | | | | | | | | Merge pull request #23237 from ngoldbaum/wrapping-errorCharles Harris2023-02-171-2/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | MAINT: Add debug information to ufunc wrapping error
| * | | | | | | | | MAINT: Add debug information to ufunc wrapping errorNathan Goldbaum2023-02-171-2/+3
| | | | | | | | | |
* | | | | | | | | | Merge pull request #23233 from ganesh-k13/config_raw_strRalf Gommers2023-02-171-20/+14
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | BUG: Use raw strings for paths `__config__.py.in`
| * | | | | | | | | BUG: Use raw strings for pathsganesh-k132023-02-171-20/+14
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `\U` leads to strings being treated as unicode, hence we escape it with raw strings * Changed bool parameters real bools instead of string `"True"` and `"False"` * Small refactor in `_cleanup` to make it consistent with SciPy Taken from https://github.com/scipy/scipy/pull/17936/
* | | | | | | | | TYP,MAINT: Add a missing explicit Any parameter to scalarsFrancesc Elies2023-02-171-5/+5
|/ / / / / / / /
* | | | | | | | MAINT: testing: Fix some whitespace and minor code issues in utils.pywarren2023-02-161-17/+18
|/ / / / / / /
* | | | | | | ENH: Improve performance of finfo and _commonType (#23088)Pieter Eendebak2023-02-152-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The finfo contains a cache for dtypes, but the np.complex128 dtype does not end up in the cache. The reason is that the np.complex128 is converted to np.float64 which is in the cache. Performance improvement for finfo(np.complex128): Main: 2.07 µs ± 75 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) Pr: 324 ns ± 28.9 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) Improve performance of finfo by making the cache check the first action in the __new__ Improve performance of _commonType by re-using the expression for a.dtype.type and eliminating variables The finfo and _commonType was part of the computatation time in lstsq when using scikit-rf. Since these methods are used in various other methods performance can improve there slightly as well.
* | | | | | | Merge pull request #23141 from rgommers/reduce-azp-jobsSebastian Berg2023-02-152-28/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | CI: reduce CI load - two fewer Azure Windows jobs, and no GHA jobs on merge
| * | | | | | | TEST: remove very slow test, add it as a comment to the code snippet it testsmattip2023-02-152-28/+18
| | | | | | | |
* | | | | | | | Merge pull request #22315 from r-devulap/avxsortMatti Picus2023-02-1515-940/+380
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ENH: Vectorize quicksort for 16-bit and 64-bit dtype using AVX512
| * | | | | | | | Disable on CYGWINRaghuveer Devulapalli2023-02-071-4/+4
| | | | | | | | |
| * | | | | | | | No need for add x86-simd-sort as global directorySayed Adel2023-02-073-4/+3
| | | | | | | | |
| * | | | | | | | fix up up mesonSayed Adel2023-02-071-1/+2
| | | | | | | | |
| * | | | | | | | fix up mesonSayed Adel2023-02-071-0/+5
| | | | | | | | |
| * | | | | | | | ENH, SIMD: removes #NPY_ENABLE_AVX512_QSORT and use #directives insteadSayed Adel2023-02-074-21/+17
| | | | | | | | |
| * | | | | | | | ENH, SIMD: include npy_cpu_dipatch.h by npy_config.hSayed Adel2023-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To guarantee of having #defs NPY_HAVE_[CPU features] in the scope
| * | | | | | | | ENH, SIMD: reimplement CPU dispatching of qsortSayed Adel2023-02-0710-338/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For a Few C++ More
| * | | | | | | | ENH: Towards modern C++Sayed Adel2023-02-074-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch initializes new C++ headers and also brings new namespace `np::` to break away from the current approach of using C++ which tends not to be drawn into modernity.
| * | | | | | | | Update to latest commit x86-simd-sortRaghuveer Devulapalli2023-01-311-0/+0
| | | | | | | | |
| * | | | | | | | Add x86 simd sort dispatch files to meson.buildRaghuveer Devulapalli2023-01-311-1/+2
| | | | | | | | |
| * | | | | | | | Adding x86-simd-sort as submoduleRaghuveer Devulapalli2023-01-305-2478/+0
| | | | | | | | |
| * | | | | | | | BUG: Use log2 instead a builtinRaghuveer Devulapalli2023-01-301-1/+1
| | | | | | | | |
| * | | | | | | | Fix linter errors'Raghuveer Devulapalli2023-01-301-1/+3
| | | | | | | | |
| * | | | | | | | TST: Add test for float16 quicksortRaghuveer Devulapalli2023-01-301-0/+7
| | | | | | | | |
| * | | | | | | | ENH: Use AVX-512 qsort for half precision floatRaghuveer Devulapalli2023-01-307-11/+253
| | | | | | | | |
| * | | | | | | | MAINT: Fix linter errorsRaghuveer Devulapalli2023-01-301-2/+2
| | | | | | | | |
| * | | | | | | | TST: Add quicksort test coverage for all 16, 32, 64 bit dtypesRaghuveer Devulapalli2023-01-301-14/+14
| | | | | | | | |
| * | | | | | | | MAINT: Use loadu intrinsic instead of set1_epi16Raghuveer Devulapalli2023-01-301-96/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc-8 is missing the _mm512_set1_epi16 intrinsic
| * | | | | | | | MAINT: Fix commentRaghuveer Devulapalli2023-01-301-4/+3
| | | | | | | | |
| * | | | | | | | ENH: Add AVX-512 based 16-bit dtype sortRaghuveer Devulapalli2023-01-304-10/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 138ba7583253e7540a206e7f0df3edcd5e26c518.
| * | | | | | | | BUG: Do not use a global static const __m512 variableRaghuveer Devulapalli2023-01-301-1/+5
| | | | | | | | |
| * | | | | | | | MAINT: Disable AVX-512 qsort on macOS and WIN32Raghuveer Devulapalli2023-01-302-3/+23
| | | | | | | | |
| * | | | | | | | ENH: Use npyv_* for missing intrinsics in gcc-6Raghuveer Devulapalli2023-01-304-28/+29
| | | | | | | | |
| * | | | | | | | MAINT: Force inline bitonic network functionsRaghuveer Devulapalli2023-01-303-37/+37
| | | | | | | | |
| * | | | | | | | BUG: Ensure long/longlong is 8 bytes for 64-bit qsortRaghuveer Devulapalli2023-01-302-19/+29
| | | | | | | | |
| * | | | | | | | Revert "ENH: Add AVX-512 based 16-bit dtype sort"Raghuveer Devulapalli2023-01-304-88/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 225c8bab83d239d8888bc7b688efed97ab2284cf.
| * | | | | | | | BUG: Use longlong when NPY_SIZEOF_LONG is 4Raghuveer Devulapalli2023-01-302-0/+18
| | | | | | | | |
| * | | | | | | | ENH: Add AVX-512 based 16-bit dtype sortRaghuveer Devulapalli2023-01-304-0/+88
| | | | | | | | |
| * | | | | | | | ENH: Add AVX-512 based 64-bit dtype sortRaghuveer Devulapalli2023-01-305-839/+110
| | | | | | | | |
| * | | | | | | | ENH: Add x86-simd-sort source filesRaghuveer Devulapalli2023-01-304-0/+2277
| | |/ / / / / / | |/| | | | | |
* | | | | | | | ENH: Add some unit tests for finfo and iinfo (#23109)Pieter Eendebak2023-02-151-11/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ENH: Add some unit tests for finfo and iinfo * make tests more specific * refactor * lint * review comments * whitespace * add regression test * fix test
* | | | | | | | MAINT: Merge public and private dtype API as much as possibleSebastian Berg2023-02-1413-432/+353
| |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merges header definitions that are private (enough) so that we use the same definitions within NumPy as externally made available through the experimental dtype API header. Tested with string and mpfdtype from the experimental dtype API.
* | | | | | | DOC: Fix matpltolib error in documentation (#23212)Sebastian Berg2023-02-141-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted by Kyle Sunden, this was deprecated and has been removed, using the method is the correct way of doing it in newer matplotlib. Closes gh-23209 Co-authored-by: Kyle Sunden <ksunden@users.noreply.github.com>
* | | | | | BUG: datetime64/timedelta64 comparisons return NotImplemented (#23201)jbrockmendel2023-02-132-0/+22
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * BUG: datetime64/timedelta64 comparisons return NotImplemented * typo fixup * Update numpy/core/src/multiarray/scalartypes.c.src Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> * Update numpy/core/src/multiarray/scalartypes.c.src --------- Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* | | | | Merge pull request #23089 from seberg/numpy2-flagMatti Picus2023-02-127-5/+46
|\ \ \ \ \ | | | | | | | | | | | | API: Add environment variable for behavior planned in a 2.0