| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
MAINT: exprtype regex simplify
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* `determineexprtype_re_1` was modified to remove extraneous
character class markers around a single `,`
* a similar change was applied for the word metacharacter
in `determineexprtype_re_2` and `determineexprtype_re_3`
* the third character class in `determineexprtype_re_3` was
simplified to remove an escape sequence--by placing the
`-` at the start of the character class its metacharacter
status can be avoided
|
|\ \
| |/
|/| |
MAINT: crackfortran regex simplify
|
| |
| |
| |
| |
| |
| | |
* `name_match` regular expression now starts by
matching a letter only, based on reviewer
feedback
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* remove extraneous character class markers used in
`crackline_re_1`: `\w` and `=` on their own have no
benefit to character class `[]` inclusion
* `name_match` has a character class that can be
simplified because `\w` metacharacter already
encompasses the digit metacharacter and the
underscore
|
|\ \
| | |
| | | |
SIMD: Replace raw SIMD of sin/cos with NPYV(universal intrinsics)
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
The new code improves the performance of non-contiguous memory access
for the output array without any reduction in performance.
For PPC64LE the performance increased by 2-3.0, and 1.5-2.0 on aarch64.
|
|\ \
| |/
|/| |
TST: Allow mypy output types to be specified via aliases
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
In Python 3, a type that sets tp_richcompare but leaves tp_hash null is
always unhashable. In Python 2, such types used to inherit tp_hash from
their bases.
|
|\ \
| | |
| | | |
BLD, BUG: Fix detecting aarch64 on macOS
|
| | | |
|
| | |
| | |
| | |
| | | |
Co-authored-by: h-vetinari <h.vetinari@gmx.com>
|
|\ \ \
| | | |
| | | | |
BUG: Fix concatenation when the output is "S" or "U"
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, the dtype was used, this now assumes that we want to
cast to a string of (unknown) length. This is a simplified version
of what happens in `np.array()` or `arr.astype()` (it does never
inspect the values, e.g. for object casts).
This is more complex as I would like, and with the refactor of
ResultType and similar can be cleaned up a bit more hopefully.
Note that currently, object to "S" or "U" casts simply return
length 64 strings, but with the new version, this will be an error
(although the error message probably needs improvement).
This is a behaviour inherited from other places however.
|
|\ \ \ \
| | | | |
| | | | | |
SIMD: Optimize the performance of einsum's submodule sum.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \ |
|
| |\ \ \ \ \
| | |_|_|_|/
| |/| | | | |
ENH, SIMD: Add new NPYV intrinsics pack(1)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- add bitwise logical operations for boolean vectors
- add round conversion for float vectors
- add NAN test for float vectors
- add conditional addition and subtraction
- add #definition NPY_SIMD_FMA3 to check FUSED native support
- add testing cases for all of the above
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
ENH: Add a mypy plugin for inferring platform-specific `np.number` precisions
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com>
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes an issue where the `pypy` tests would fail
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Since `intp` is now annotated it can be used in place of `signedinteger[Any]`
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
MAINT: Add aliases for commonly used `ArrayLike` objects
|
| | | | | | | |
|
| |/ / / / /
| | | | | |
| | | | | | |
The numbers chosen in the stacking examples can make them difficult to interpret. I suggest using different numbers to make it unambiguous.
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
ENH, SIMD: Ditching the old CPU dispatcher(Arithmetic)
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The first patch in a series of pull-requests aims to facilitate the migration
process to our new SIMD interface(NPYV).
It is basically a process that focuses on getting rid of the main umath SIMD source `simd.inc`,
which contains almost all SIMD kernels, by splitting it into several dispatch-able sources without
changing the base code, which facilitates the review process in order to speed up access to the nominal target.
In this patch, we have moved the arithmetic operations of real and complex for single/double precision
to the new CPU dispatcher.
NOTE: previously, the SIMD code of AVX2 and AVX512F for single/double precision wasn't dispatched in runtime before.
|
| | | | | | | |
|
| | | | | | | |
|