<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/distutils/command/build.py, branch v1.23.2</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>TST: Add CPU dispatch/baseline tests for VSX4</title>
<updated>2022-01-18T04:03:54+00:00</updated>
<author>
<name>Rafael Cardoso Fernandes Sousa</name>
<email>rafaelcfsousa@ibm.com</email>
</author>
<published>2022-01-18T04:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3784cac6f79b1a2f5828957173cac81bbc483ba3'/>
<id>3784cac6f79b1a2f5828957173cac81bbc483ba3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lint issues</title>
<updated>2021-12-14T01:49:12+00:00</updated>
<author>
<name>Pradipta Ghosh</name>
<email>pradghos@in.ibm.com</email>
</author>
<published>2021-12-09T12:53:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c4e0ba88dfdcbad4a8600ca227bb00ab00262bb0'/>
<id>c4e0ba88dfdcbad4a8600ca227bb00ab00262bb0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extending CPU feature detection framework to support IBM Z SIMD</title>
<updated>2021-12-14T01:49:12+00:00</updated>
<author>
<name>Pradipta Ghosh</name>
<email>pradghos@in.ibm.com</email>
</author>
<published>2021-12-09T11:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=aea715bacd7497d30fe168977be430d64588944b'/>
<id>aea715bacd7497d30fe168977be430d64588944b</id>
<content type='text'>
We would like to extend CPU feature detection infrastructure
for IBM Z CPU features. Eventually It will help to add and
enable Z specific SIMD builtins and instructions.
As part of the PR, we have extended ccompiler_opt.py,
npy_cpu_features.c.src, npy_cpu_features.h, other files for
Z CPU feature detection and added test files for VX/VXE/VXE2
in distutils/checks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We would like to extend CPU feature detection infrastructure
for IBM Z CPU features. Eventually It will help to add and
enable Z specific SIMD builtins and instructions.
As part of the PR, we have extended ccompiler_opt.py,
npy_cpu_features.c.src, npy_cpu_features.h, other files for
Z CPU feature detection and added test files for VX/VXE/VXE2
in distutils/checks.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT, TST: Serveral imporvments to _SIMD module</title>
<updated>2020-10-27T11:46:58+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2020-09-15T14:06:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7d125fb70cb149207171b7181312f9679dd4d451'/>
<id>7d125fb70cb149207171b7181312f9679dd4d451</id>
<content type='text'>
 - 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 &lt;wieser.eric@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - 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 &lt;wieser.eric@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Expose the NumPy C SIMD vectorization interface "NPYV" to Python</title>
<updated>2020-10-27T11:46:58+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2020-07-08T07:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cb3efe8e03b53dbab457a99be1a48384312abe16'/>
<id>cb3efe8e03b53dbab457a99be1a48384312abe16</id>
<content type='text'>
  '_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 &lt;matti.picus@gmail.com&gt;
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  '_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 &lt;matti.picus@gmail.com&gt;
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: [3/7] enable multi-platform SIMD compiler optimizations</title>
<updated>2020-06-15T20:49:27+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2020-06-13T16:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4c97add06371bf80f3bc02e0cfb0ee83737b909c'/>
<id>4c97add06371bf80f3bc02e0cfb0ee83737b909c</id>
<content type='text'>
  - Put `CCompilerOpt` in action through add two command line
    arguments that passed directly to `CCompilerOpt`'s
    parameters which explained as follows:

    * `--cpu-baseline` minimal set of required optimizations,
      default is 'min' which provides the minimum CPU features
      that can safely run on a wide range of users platforms.

    * `--cpu-dispatch` dispatched set of additional optimizations,
      default is 'max-xop-fma4' which enables all CPU features,
      except for AMD legacy features.

    the new arguments can be reached from `build`, `build_clib`,
    `build_ext`, if `build_clib` or `build_ext` are not specified
    by the user the arguments of `build` will be used, which also
    hold the default values.

  - Activate the new compiler dispatcher that comes with `CCompilerOpt`,
    through adding a hock inside `build_clib` and `build_ext`
    that works as a filter taking any C source files ends with
    `.dispatch.c` and pass it directly to `CCompilerOpt` and
    then take returned objects and linked to the final C lib.

  - Add a third command-line argument `--disable-optimization` which
    explicitly disable the whole new infrastructure, also
    It adds a new compiler definition called `NPY_DISABLE_OPTIMIZATION`.

    when `--disable-optimization` is enabled the dispatch-able sources
    that end with `.dispatch.c` will be treated as a normal
    C sources, also due to this disabling any C headers that
    generated by `CCompilerOpt` must guard it with `NPY_DISABLE_OPTIMIZATION`,
    otherwise, it will definitely break the build.

  - New auto-generated C header located at `core/include/numpy/_cpu_dispatch.h`,
    the new header contains all definitions and headers of CPU features that
    enabled according to specified configuration in `--cpu-baseline`
    and `--cpu-dispatch`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - Put `CCompilerOpt` in action through add two command line
    arguments that passed directly to `CCompilerOpt`'s
    parameters which explained as follows:

    * `--cpu-baseline` minimal set of required optimizations,
      default is 'min' which provides the minimum CPU features
      that can safely run on a wide range of users platforms.

    * `--cpu-dispatch` dispatched set of additional optimizations,
      default is 'max-xop-fma4' which enables all CPU features,
      except for AMD legacy features.

    the new arguments can be reached from `build`, `build_clib`,
    `build_ext`, if `build_clib` or `build_ext` are not specified
    by the user the arguments of `build` will be used, which also
    hold the default values.

  - Activate the new compiler dispatcher that comes with `CCompilerOpt`,
    through adding a hock inside `build_clib` and `build_ext`
    that works as a filter taking any C source files ends with
    `.dispatch.c` and pass it directly to `CCompilerOpt` and
    then take returned objects and linked to the final C lib.

  - Add a third command-line argument `--disable-optimization` which
    explicitly disable the whole new infrastructure, also
    It adds a new compiler definition called `NPY_DISABLE_OPTIMIZATION`.

    when `--disable-optimization` is enabled the dispatch-able sources
    that end with `.dispatch.c` will be treated as a normal
    C sources, also due to this disabling any C headers that
    generated by `CCompilerOpt` must guard it with `NPY_DISABLE_OPTIMIZATION`,
    otherwise, it will definitely break the build.

  - New auto-generated C header located at `core/include/numpy/_cpu_dispatch.h`,
    the new header contains all definitions and headers of CPU features that
    enabled according to specified configuration in `--cpu-baseline`
    and `--cpu-dispatch`.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove unnecessary 'from __future__ import ...' statements</title>
<updated>2020-01-03T15:48:11+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-08-27T11:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ed1e9659f103260a32536b4a7615393e3b1173dc'/>
<id>ed1e9659f103260a32536b4a7615393e3b1173dc</id>
<content type='text'>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUILD: add warn-error option to turn compiler warnings into errors (-Werror)</title>
<updated>2019-09-20T15:08:20+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-09-16T13:40:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=05bed28f9818a04f0b748ca0e11168ef22ee2614'/>
<id>05bed28f9818a04f0b748ca0e11168ef22ee2614</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: move the option to build_src, simplifies logic</title>
<updated>2019-09-20T06:35:48+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-09-16T15:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cdf67fa06298ce7fd6ee909b7777dc77c0cfa49f'/>
<id>cdf67fa06298ce7fd6ee909b7777dc77c0cfa49f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUILD: add --debug-configure option to reduce output, use logger more</title>
<updated>2019-09-20T06:34:47+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-09-15T07:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9852340606cf5f0e23cca8107e2bce61f022bc4e'/>
<id>9852340606cf5f0e23cca8107e2bce61f022bc4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
