From da21d28ef69e65c5bfef8dc22840fe16fec52540 Mon Sep 17 00:00:00 2001 From: Sayed Adel Date: Sat, 13 Jun 2020 18:15:25 +0200 Subject: ENH: [1/7] enable multi-platform SIMD compiler optimizations 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. --- doc/source/reference/distutils.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/source/reference') diff --git a/doc/source/reference/distutils.rst b/doc/source/reference/distutils.rst index 6057c7ed0..f201ba668 100644 --- a/doc/source/reference/distutils.rst +++ b/doc/source/reference/distutils.rst @@ -39,6 +39,7 @@ Modules in :mod:`numpy.distutils` :toctree: generated/ ccompiler + ccompiler_opt cpuinfo.cpu core.Extension exec_command -- cgit v1.2.1