<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/distutils/checks, branch v1.22.4</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>BUG, SIMD: Fix detect host/native CPU features on ICC during compile-time</title>
<updated>2021-05-26T21:35:47+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2021-05-25T22:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0ec2c91dfdc6d62c7e2ebd0071a0dc990e1a84ec'/>
<id>0ec2c91dfdc6d62c7e2ebd0071a0dc990e1a84ec</id>
<content type='text'>
  Unlike GCC and CLANG, Intel Compiler exposes all supported intrinsics,
  whether or not the build options for those features are specified.
  Therefore, we must test #definitions of CPU features when option native/host
  is enabled via `--cpu-baseline` or through env var `CFLAGS` otherwise
  the test will be broken and leads to enable all possible features.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Unlike GCC and CLANG, Intel Compiler exposes all supported intrinsics,
  whether or not the build options for those features are specified.
  Therefore, we must test #definitions of CPU features when option native/host
  is enabled via `--cpu-baseline` or through env var `CFLAGS` otherwise
  the test will be broken and leads to enable all possible features.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change fix of cpu_popcnt.c to use _mm_popcnt_u64/_mm_popcnt_u32 on GCC</title>
<updated>2021-05-23T15:24:52+00:00</updated>
<author>
<name>Carl Michal</name>
<email>michal@physics.ubc.ca</email>
</author>
<published>2021-05-23T15:24:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3827c262d128811f3ee36d2bd015544f5922e7c5'/>
<id>3827c262d128811f3ee36d2bd015544f5922e7c5</id>
<content type='text'>
_builtin_popcount is always available, so the compile-time check always
succeeds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_builtin_popcount is always available, so the compile-time check always
succeeds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compile-time test of POPCNT</title>
<updated>2021-05-23T03:43:10+00:00</updated>
<author>
<name>Carl Michal</name>
<email>michal@physics.ubc.ca</email>
</author>
<published>2021-05-23T03:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=59764c6d3621423c9d4e136e99a69078a79ca6f5'/>
<id>59764c6d3621423c9d4e136e99a69078a79ca6f5</id>
<content type='text'>
The compile-time test of POPCNT, cpu_popcnt.c produced code that would
execute without error even if the machine didn't support the popcnt
instruction. This patch attempts to use popcnt on random numbers so the
compiler can't substitute the answer at compile time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The compile-time test of POPCNT, cpu_popcnt.c produced code that would
execute without error even if the machine didn't support the popcnt
instruction. This patch attempts to use popcnt on random numbers so the
compiler can't substitute the answer at compile time.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove warning on MSVC</title>
<updated>2021-05-12T06:43:55+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2021-05-12T06:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d067a475ba8b5335583fa8e33859367ca6810432'/>
<id>d067a475ba8b5335583fa8e33859367ca6810432</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT, SIMD: Hardened the AVX compile-time tests</title>
<updated>2021-05-09T19:53:35+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2021-05-09T19:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7aee0fa0805c55d0aed2d26dec8e1153757c69ff'/>
<id>7aee0fa0805c55d0aed2d26dec8e1153757c69ff</id>
<content type='text'>
  To avoid optimizing it out by the compiler so we make
  sure that the assembler is getting involved.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  To avoid optimizing it out by the compiler so we make
  sure that the assembler is getting involved.
</pre>
</div>
</content>
</entry>
<entry>
<title>BLD: Add extra check for AVX512DQ mask conversions</title>
<updated>2021-01-05T07:15:51+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2021-01-05T06:45:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=172311808c0857465cd09e9f7d295bfcd0179b1e'/>
<id>172311808c0857465cd09e9f7d295bfcd0179b1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BLD, SIMD: Add check for inline ASM VSX support</title>
<updated>2020-11-17T02:09:19+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2020-11-17T01:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dcbfe242064b032d3f0772a10e714aeb19458cb3'/>
<id>dcbfe242064b032d3f0772a10e714aeb19458cb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BLD: Check for reduce intrinsics and AVX512BW mask operations</title>
<updated>2020-08-26T11:22:30+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2020-08-21T15:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5281f86f386e530b10131193f3a7d5f338d8daaa'/>
<id>5281f86f386e530b10131193f3a7d5f338d8daaa</id>
<content type='text'>
  - 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: [1/7] enable multi-platform SIMD compiler optimizations</title>
<updated>2020-06-15T20:48:29+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2020-06-13T16:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=da21d28ef69e65c5bfef8dc22840fe16fec52540'/>
<id>da21d28ef69e65c5bfef8dc22840fe16fec52540</id>
<content type='text'>
  Implement new distutils class `CCompilerOpt`, used for handling
  the CPU/hardware optimization, starting from parsing the
  command arguments, to managing the relationship between the CPU baseline
  and dispatch-able features, also generating the required C headers
  and ending with compiling the sources with proper compiler's flags.

  `CCompilerOpt` mainly used as a helper class for `CCompiler`,
  and doesn't provide any runtime detection for the CPU features,
  instead only focuses on the compiler side, but it generates
  abstract C headers that can be used later for the final
  runtime dispatching process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Implement new distutils class `CCompilerOpt`, used for handling
  the CPU/hardware optimization, starting from parsing the
  command arguments, to managing the relationship between the CPU baseline
  and dispatch-able features, also generating the required C headers
  and ending with compiling the sources with proper compiler's flags.

  `CCompilerOpt` mainly used as a helper class for `CCompiler`,
  and doesn't provide any runtime detection for the CPU features,
  instead only focuses on the compiler side, but it generates
  abstract C headers that can be used later for the final
  runtime dispatching process.
</pre>
</div>
</content>
</entry>
</feed>
