<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/distutils/command/build.py, branch pr/19857</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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>
<entry>
<title>Use *sys.version_info[:2]</title>
<updated>2019-08-26T18:06:41+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2019-08-26T18:06:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=bd59cd437be25443d918ddb558563a1581db8738'/>
<id>bd59cd437be25443d918ddb558563a1581db8738</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix for Python 3.10</title>
<updated>2019-08-26T15:22:55+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2019-08-26T14:49:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=e7c1f8e789d8ccea6034f791393a2122e1237886'/>
<id>e7c1f8e789d8ccea6034f791393a2122e1237886</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: adapt parallel build option names to python3.5</title>
<updated>2015-07-16T19:10:21+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2015-07-16T19:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=7b0b5d1219f8869857db778032dc417aea89eb9f'/>
<id>7b0b5d1219f8869857db778032dc417aea89eb9f</id>
<content type='text'>
python3.5 uses --parallel instead of --jobs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python3.5 uses --parallel instead of --jobs
</pre>
</div>
</content>
</entry>
</feed>
