This is awesome!!!

Great stuff Pedro! 

Is this added to any of the documentation yet?

Sam


> On Jan 22, 2019, at 8:39 AM, Pedro Larroy <pedro.larroy.li...@gmail.com> 
> wrote:
> 
> Hi
> 
> I'm pleased to announce that runtime feature detection has been merged
> in master, thanks to Aaron for the merge and the many reviewers who
> gave feedback on the PR.  (
> https://github.com/apache/incubator-mxnet/pull/13549 )
> 
> As the functionality matures and is exposed through other bindings,
> please feel free to try and use it to build on it, for example for
> easier test suite selection depending on what's compiled in the
> engine.
> 
> Usage examples:
> 
> $ ipython
> In [4]: import mxnet.mxfeatures
> 
> In [5]: mxnet.mxfeatures.features_enabled()
> Out[5]:
> [<Feature.CPU_SSE: 5>,
> <Feature.CPU_SSE2: 6>,
> <Feature.CPU_SSE3: 7>,
> <Feature.CPU_SSE4_1: 8>,
> <Feature.CPU_SSE4_2: 9>,
> <Feature.CPU_AVX: 11>,
> <Feature.F16C: 15>,
> <Feature.BLAS_OPEN: 17>,
> <Feature.LAPACK: 21>,
> <Feature.SIGNAL_HANDLER: 28>,
> <Feature.DEBUG: 29>]
> 
> In [6]: mxnet.mxfeatures.features_enabled_str()
> Out[6]: 'CPU_SSE, CPU_SSE2, CPU_SSE3, CPU_SSE4_1, CPU_SSE4_2, CPU_AVX,
> F16C, BLAS_OPEN, LAPACK, SIGNAL_HANDLER, DEBUG'
> 
> see also: help(mxnet.mxfeatures)
> 
> Regards.

Reply via email to