summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | MAINT: Make use of the py39 `__class_getitem__` availability in the standard ↵BvB932023-02-025-83/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | library
| | * | | | | | | | | MAINT: Remove the python <3.9 guards for `__class_getitem__`BvB932023-02-027-101/+27
| | | |/ / / / / / / | | |/| | | | | | |
| * | | | | | | | | TYP,MAINT: Add a missing explicit `Any` parameter to the `npt.ArrayLike` ↵BvB932023-02-021-1/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | definition
| * | | | | | | | Merge pull request #23069 from andyfaff/wheelMatti Picus2023-02-016-13/+64
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BLD: musllinux wheel build
| | * | | | | | | | WHL: musllinux wheels [wheel build]Andrew Nelson2023-02-016-13/+64
| | | | | | | | | |
| * | | | | | | | | Merge pull request #21056 from seiko2plus/replace_raw_arithmfpMatti Picus2023-01-3128-1554/+3133
| |\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | ENH: re-implement SIMD kernels of complex operations
| | * | | | | | | | ENH, SIMD: Only dispatch AVX2 for arithmetic operationsSayed Adel2023-01-296-3/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no performance gain with AVX512 enabled except for absolute
| | * | | | | | | | TST, SIMD: add test cases for the new intrinicsSayed Adel2023-01-292-107/+278
| | | | | | | | | |
| | * | | | | | | | ENH, SIMD: Implment intrinsic for mask divisionSayed Adel2023-01-292-0/+47
| | | | | | | | | |
| | * | | | | | | | ENH, SIMD: Implment intrinsic for FMA multiply add(odd) and subtract(even)Sayed Adel2023-01-295-0/+72
| | | | | | | | | |
| | * | | | | | | | ENH, SIMD: Add special intrinsics for better non-contiguous/partial memory ↵Sayed Adel2023-01-295-66/+1418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | access for complex load/store summarized as follows: 64-bit contiguous partial load/store over 32-bit lane npyv_load2_till_u32, npyv_load2_till_s32, npyv_load2_till_f32 npyv_load2_tillz_u32, npyv_load2_tillz_s32, npyv_load2_tillz_f32 npyv_store2_till_u32, npyv_store2_till_s32, npyv_store2_till_f32 128-bit contiguous partial load/store over 64-bit lane npyv_load2_till_u64, npyv_load2_till_s64, npyv_load2_till_f64 npyv_load2_tillz_u64, npyv_load2_tillz_s64, npyv_load2_tillz_f64 npyv_store2_till_u64, npyv_store2_till_s64, npyv_store2_till_f64 64-bit non-contiguous load/store over 32-bit stride npyv_loadn2_u32, npyv_loadn2_s32, npyv_loadn2_f32 npyv_storen2_u32, npyv_storen2_s32, npyv_storen2_f32 128-bit non-contiguous load/store over 64-bit stride npyv_loadn2_u64, npyv_loadn2_s64, npyv_loadn2_f64 npyv_storen2_u64, npyv_storen2_s64, npyv_storen2_f64 64-bit non-contiguous partial load/store over 32-bit stride npyv_loadn2_till_u32, npyv_loadn2_till_s32, npyv_loadn2_till_f32 npyv_loadn2_tillz_u32, npyv_loadn2_tillz_s32, npyv_loadn2_tillz_f32 npyv_storen2_till_u32, npyv_storen2_till_s32, npyv_storen2_till_f32 128-bit non-contiguous partial load/store over 64-bit stride npyv_loadn2_till_u64, npyv_loadn2_till_s64, npyv_loadn2_till_f64 npyv_loadn2_tillz_u64, npyv_loadn2_tillz_s64, npyv_loadn2_tillz_f64 npyv_storen2_till_u64, npyv_storen2_till_s64, npyv_storen2_till_f64 2 channels de-interlave/interleave contiguous load/store for all data types npyv_load_##sfx##x2, npyv_store_##sfx##x2
| | * | | | | | | | ENH: re-implement SIMD kernels of complex operationsSayed Adel2023-01-292-671/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New kernels provides better performance for non-contiguous memory access and don't require 128-bit/64-bit aligment for complex128/complex64 just 64-bit/32-bit, and implmented via universal intrinics.
| | * | | | | | | | ENH: Implement intrinsics for shuffle over 128-bit lane and unzipSayed Adel2023-01-298-27/+633
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shuffle intrinsics support 32-bit/64-bit vector data types, unzip(deinterleave) intrinsics supports all data types.
| | * | | | | | | | ENH: remove raw SIMD of complex operationsSayed Adel2023-01-295-687/+10
| | | | | | | | | |
| * | | | | | | | | Merge pull request #23111 from seberg/dlpack-boolMatti Picus2023-01-303-19/+147
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MAINT: Allow export/import of bools in dlpack
| | * | | | | | | | | MAINT: Allow export/import of bools in dlpackSebastian Berg2023-01-273-19/+147
| | | |_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the header file and accept as well as export boolean now that the header includes a definition for it.
| * | | | | | | | | Merge pull request #23073 from DWesl/patch-2Matti Picus2023-01-301-0/+20
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | CI: Rebase NumPy compiled extension test modules on Cygwin
| | * | | | | | | | | CI: Rebase numpy DLLs in runtests.py.DWesl2023-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This assumes NumPy is rebased before tests run, but does not assume the locations are in the database.
| | * | | | | | | | | TST: Rebase F2Py-built extension modules.DWesl2023-01-291-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adjust CI so they don't immediately collide with NumPy. I forgot to do that last time, which caused problems.
| | * | | | | | | | | Revert "FIX: Add glob import for test module rebase."DWesl2023-01-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 33709afdbbc47b7adb7dd06a730246d8c02f724f.
| | * | | | | | | | | Revert "TST: Rebase F2Py test modules on Cygwin."DWesl2023-01-271-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 608864613b801b9c85573186a9d07eeac5e7e465.
| | * | | | | | | | | FIX: Add glob import for test module rebase.DWesl2023-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to check this earlier.
| | * | | | | | | | | TST: Rebase F2Py test modules on Cygwin.DWesl2023-01-261-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's see if this fixes the 8-50 fork failures.
| * | | | | | | | | | Add missing <type_traits> header.Peter Hawkins2023-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `std::is_scalar` is defined in `type_traits`, which is missing from the includes.
| * | | | | | | | | | BUG: Fix crash when using complex double scalars with NEP 50Sebastian Berg2023-01-291-1/+2
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not adding a test since there is already a test that crashes due to this, it just isn't used with weak promotion and right now I am hoping I may be able to make the test suite runnable enabling it.
| * | | | | | | | | Merge pull request #22165 from ↵Matti Picus2023-01-299-309/+656
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developer-Ecosystem-Engineering/simd_isnan_isinf_isfinite_signbit ENH: Implement SIMD versions of isnan,isinf, isfinite and signbit
| | * | | | | | | | | Fix crashes when using MSVC. Unnesting function calls allows more inlining.Developer-Ecosystem-Engineering2023-01-051-65/+56
| | | | | | | | | | |
| | * | | | | | | | | Fix type conversions for gccDeveloper-Ecosystem-Engineering2023-01-041-14/+14
| | | | | | | | | | |
| | * | | | | | | | | Include simd.h before using NPY_SIMD_BIGENDIANDeveloper-Ecosystem-Engineering2023-01-041-20/+19
| | | | | | | | | | |
| | * | | | | | | | | Address feedback from 2022-12-14Developer-Ecosystem-Engineering2023-01-041-342/+361
| | | | | | | | | | |
| | * | | | | | | | | Update .gitignore and meson.build for loops_unary_fp_le.dispatch.c.srcDeveloper-Ecosystem-Engineering2023-01-041-0/+1
| | | | | | | | | | |
| | * | | | | | | | | Clean-up merge to mainDeveloper-Ecosystem-Engineering2023-01-041-42/+0
| | | | | | | | | | |
| | * | | | | | | | | fix commentDeveloper-Ecosystem-Engineering2023-01-041-1/+1
| | | | | | | | | | |
| | * | | | | | | | | move split test to test_fp_noncontiguous, remove use of as_strided as it was ↵Developer-Ecosystem-Engineering2023-01-041-53/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reading random data and not reliable also didn't give additional coverage
| | * | | | | | | | | fix lint & add test_fp_noncontiguousDeveloper-Ecosystem-Engineering2023-01-041-9/+48
| | | | | | | | | | |
| | * | | | | | | | | see if stride_tricks can give us more coverageDeveloper-Ecosystem-Engineering2023-01-041-1/+37
| | | | | | | | | | |
| | * | | | | | | | | add some tests with different shape arraysDeveloper-Ecosystem-Engineering2023-01-041-1/+16
| | | | | | | | | | |
| | * | | | | | | | | re-enable vx and vxe (avoid perf regressions) for existing code by splitting ↵Developer-Ecosystem-Engineering2023-01-046-463/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this new code into a new file
| | * | | | | | | | | add tests to test_simd.pyDeveloper-Ecosystem-Engineering2023-01-041-0/+33
| | | | | | | | | | |
| | * | | | | | | | | Resolve linux32 stride failuresDeveloper-Ecosystem-Engineering2023-01-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On linux 32 an assert fires where stride (12) passed from ufunc_object (try_trivial_single_output_loop) to DOUBLE_isnan and DOUBLE_isfinite doesn't match the type size (8), we can relax this assert and instead fall back to the UNARY_LOOP path instead
| | * | | | | | | | | Resolve linux 32 failuresDeveloper-Ecosystem-Engineering2023-01-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't see these failures but CI is hitting them, attempting to resolve
| | * | | | | | | | | resolve additional platform test failuresDeveloper-Ecosystem-Engineering2023-01-042-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Special case SSE Fix PPC64 build Only use vqtbl4q_u8 on A64 Stop trying to use optimizations on s390x
| | * | | | | | | | | Add vector casts to resolve additional cygwin failuresDeveloper-Ecosystem-Engineering2023-01-041-4/+4
| | | | | | | | | | |
| | * | | | | | | | | Address cygwin failuresDeveloper-Ecosystem-Engineering2023-01-041-1/+1
| | | | | | | | | | |
| | * | | | | | | | | Fix gcc failuresDeveloper-Ecosystem-Engineering2023-01-041-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use reinterpret to support casting across many compiler generations Resolve deprecation warnings
| | * | | | | | | | | ENH: Implement SIMD versions of isnan,isinf, isfinite and signbitDeveloper-Ecosystem-Engineering2023-01-045-277/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NumPy has SIMD versions of float / double `isnan`, `isinf`, `isfinite`, and `signbit` for SSE2 and AVX-512. The changes here replace the SSE2 version with one that uses their universal intrinsics. This allows other architectures to have SIMD versions of the functions too.
| * | | | | | | | | | DOC:fix type in bitwise_iorArun Kota2023-01-291-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #23113 from hmaarrfk/slots_for_mixinsSebastian Berg2023-01-272-0/+11
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ENH: Add slots to NDArrayOperatorsMixin allowing them in subclasses
| | * | | | | | | | | | TST: Add a test for slots and NDArrayOperatorsMixin subclassingMark Harfouche2023-01-271-0/+10
| | | | | | | | | | | |
| | * | | | | | | | | | ENH: Add slots to NDArrayOperatorsMixin to make subclsasing smootherMark Harfouche2023-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I use the mixings in a few different file backed arrays. However, the lack of slots make it difficult for me to use slots. I mostly use slots to ensure that performance optimized code doesn't create unecessary references to large chunks of memory. If all parent classes do not have `__slots__` defined, I think that Python (3.9) just ignores `__slots__` alltogether. Thank you for considering.