That's Great! There's a PR that we should merge first which
internalizes the enum inside the library as per Sheng's suggestion.

https://github.com/apache/incubator-mxnet/pull/13964

@Sheng could we merge the PR? so we can build on top of this feature?
It's badly needed for tests suites etc.
Thanks a lot!

Pedro.


On Fri, Jan 25, 2019 at 2:22 PM Iblis Lin <ib...@hs.ntnu.edu.tw> wrote:
>
> Hi,
>
> I added the Julia binding for it.
> PR is here:
> https://github.com/apache/incubator-mxnet/pull/13992
>
> Iblis Lin
> 林峻頤
>
> On 1/23/19 12:39 AM, Pedro Larroy 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