| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
Fix a simple mistake in commit da0497fdf35 which can produce a NameError when installing numpy in MinGW/MSYS2.
|
| | |
|
| |
|
|
| |
Threading is guaranteed to be supported in Python 3.7+
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Building BLAS and LAPACK from sources in a NumPy build makes
very little sense in 2021. Therefore remove the documentation
for this from `site.cfg.example`, and doc-deprecate it in
`distutils/system_info.py`.
It's hard to properly deprecate and not worth doing, just
de-emphasizing is enough.
[ci skip]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* BUG: don't mutate list of fake libraries while iterating over it
* BUG: iterate over copy of list
* TST: add build test for build_ext fix (#1)
* TST: add build test for build_ext fix
* TST: clearer test name
* STY: use triple quotes instead of lists of strings
* FIX: check for f77 compiler before test is run
* DOC: add comment explaining that a list copy is necessary
|
| | |
|
| | |
|
| |\
| |
| | |
BUG, MAINT: improve avx512 mask logical operations
|
| | | |
|
| |/ |
|
| |\
| |
| | |
BUG, BLD: Generate the main dispatcher config header into the build dir
|
| | |
| |
| |
| |
| |
| | |
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Co-authored-by: h-vetinari <h.vetinari@gmx.com>
Co-authored-by: Derek Homeier <dhomeie@gwdg.de>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new path becomes `build/src.*/numpy/distutils/include/npy_cpu_dispatch_config.h`
instead of `numpy/core/src/common/_cpu_dispatch.h`.
The new path allows other projects to re-use the CPU dispatcher
once we decide to expose the following headers:
- `numpy/core/src/common/npy_cpu_dispatch.h`
- `numpy/core/src/common/npy_cpu_features.h`
|
| |/
|
|
|
|
|
|
| |
CI once produced a tempfile name with the string 'mkl' embedded. The
old code changed this as well as the section name. This should ensure
only section names get changed, and the restriction on the number of
replacements should catch any weird corner cases, since I think the
sections came first.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* replace superfluous single-character regex character
classes with their literal string equivalents; this
avoids the overhead associated with a character class
when there's only a single character enclosed (so there's
no benefit to the class overhead)
* for more information see:
Chapter 6 of:
Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed.,
O’Reilly Media, 2009.
|
| | |
|
| |
|
|
| |
Co-authored-by: h-vetinari <h.vetinari@gmx.com>
|
| |\
| |
| | |
BUG: Fix a MacOS build failure
|
| | | |
|
| |\ \
| | |
| | | |
ENH: Use versioneer to manage numpy versions.
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the
number of commits since the 1.21.0 branch was started and 'aa0453721f'.
The chosen form may be specified in the 'setup.cfg' file. This PR adds
two new files 'numpy/_version.py' and 'numpy/version.py'. The latter
is kept because it is part of the public API and is actually used by
some downstream projects, but it is no longer dynamically created.
See https://github.com/python-versioneer/python-versioneer/ for more
information.
|
| |\ \
| | |
| | | |
ENH, SIMD: Add new NPYV intrinsics pack(0)
|
| | | | |
|
| | |/
|/| |
|
| | | |
|
| |\ \
| | |
| | | |
BLD: Fix installing Numpy on z/OS
|
| | | | |
|
| |\ \ \
| |_|/
|/| | |
BLD, BUG: Fix cblas detection on windows
|
| | | | |
|
| |/ /
| |
| |
| |
| | |
The function returns a tuple of values, of which we need to check the first.
Fixes #17489.
|
| | |
| |
| |
| | |
Part of changes for #17620 to prevent importing numpy during builds to support cross compilation.
|
| | | |
|
| |\ \
| |/
|/| |
ENH, TST: Bring the NumPy C SIMD vectorization interface "NPYV" to Python
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- use plain variables
- clean up aligned allocate
- use `PyArg_ParseTuple` for empty args
- use `Py_ssize_t` instead of `unsigned` and `size_t`
- improve coding style
- no need for a custom raises assertions
- use parametrize instead of inner loops
- leave a comment about nature of mode testing unit
- shift to get max/min of int72
- add more info to repr of vector object
- get ride of exec() and use type() instead
- use `.inc` as extension for sub-headers instead of `.h`
- add `FMA4` and drop `SSE41` from _SIMD targets
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'_simd' is a new module to bring the NumPy C SIMD vectorization interface "NPYV"
The module is designed to be extremely flexible so that it can accommodate any kind
intrinsics, also to generate a python interface almost similar to the C interface.
The main purpose of this module is to test NPYV intrinsics in python,
but still can be used as an effective solution in designing SIMD kernels.
Also add a new command-line argument `--simd-test` to control of targeted CPU features
for the `_simd` module.
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |/
|
|
|
|
| |
numpy.distutils generates a function `__config__.show`. This change
makes the docstring of that function complete (with the required
imports) and runnable. This prevents numpy.distutils from adding
doctests that will fail -- if picked-up by the test runner.
|
| |\
| |
| | |
MAINT: explicit disabling `CCompilerOpt` in F2PY
|
| | |
| |
| |
| | |
This patch also cleans up `CCompilerOpt` calls in build_ext and build_clib.
|
| |/
|
|
|
|
|
| |
commands
replaces obsolete (no longer used anywhere AFICT check_compiler_gcc4
with some more general utilities for checking GCC version
|
| |\
| |
| | |
ENH: Support for the NVIDIA HPC SDK nvfortran compiler
|
| | | |
|
| | |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Relevant for when LAPACK/BLAS optimization is disabled.
Addresses https://github.com/numpy/numpy/pull/17346#issuecomment-694744389.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BLD: enabled negation of library choices in NPY_*_ORDER
When users build for a particular order it may be beneficial
to disallow certain libraries.
In particular a user may not care about which accelerated
BLAS library is used, so long as the NetLIB or ATLAS library isn't used.
This is now possible with:
NPY_BLAS_ORDER='^blas,atlas'
or
NPY_BLAS_ORDER='!blas,atlas'
Since we may envision more BLAS/LAPACK libraries to the pool, this
will provide greater flexibility as they enter.
A new (local) method is added in system_info.py which removes duplicate
code and allows for easier usage across libraries.
|
| |\ \
| | |
| | | |
DOC: Fix docstring cross-referencing
|