| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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
|
| | | |
|
|\ \ \
| | | |
| | | | |
BLD: Check for reduce intrinsics and AVX512BW mask operations
|
| | | |
| | | |
| | | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also fix assertion error msg of group/extra_checks
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Extending Distutils::CompilerOpt to allow adding extra separate test cases
related to a certain CPU feature without affecting its availability.
- Add test cases for reduce intrinsics and AVX512BW mask operations, they can be
reached through C #defentions NPY_HAVE_AVX512BW_MASK and NPY_HAVE_AVX512F_REDUCE.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* gh-17223 started the `distutils` modernization
process because of the various upstream stuff
going on (thanks)
* that set of changes caused build issues with NumPy
pre-release wheels + SciPy `master`:
https://travis-ci.org/github/scipy/scipy/builds/725002838
* I was able to patch two separate issues and confirm
that this feature branch restores the SciPy build locally:
1) in one case, `distutils.sysconfig.get_python_inc` was
replaced with `distutils.get_python_inc`, which does not
exist (probably a typo)
2) a bit more serious; even `sysconfig.get_python_inc` does
not appear to exist; the closest match I could find (and
that worked) was `sysconfig.get_path()` with options for
general and platform-specific header paths as needed
* I'm not claiming that these stdlib replacements are perfect
either (the prefix case may still be slightly different?), but
it does prevent the SciPy build break originally introduced
as a start
|
|\ \ \
| | | |
| | | | |
ENH: Add placeholder stubs for all sub-modules
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
MAINT: use sysconfig not distutils.sysconfig where possible
|
| | | | |
|
| | | | |
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
Some more Python 2 cleanup.
Also switches to use with statements, as previous passes looking for bare `open()` calls would have missed these
|
| |
| |
| | |
Delete unused _EXTRAFLAGS variable throughout file
|
| |
| |
| |
| |
| | |
See #17012 item 15
Co-authored-by: Jakob <jakobjakobson13@posteo.de>
|
| |
| |
| |
| |
| |
| |
| | |
numpy/distutils/misc_util.py (gh-#17051)
see #17012 item 13
Co-authored-by: Jakob <jakobjakobson13@posteo.de>
|