Giter Site home page Giter Site logo

Comments (2)

felix-johnny avatar felix-johnny commented on July 30, 2024

@petertorelli Thanks for the question.
The difference compared to DSP is that DSP officially supports building on host. NN doesn't and we don't have plans to do that in the near future. But, I understand how this can be an issue. So, narrowing down the issue to progress.

If building for say x86, one shouldn't have to support Arm Cortex-M processor specific intrinsics at all. This can be made sure by not defining ARM_MATH_DSP or ARM_MATH_MVEI. Doing so will ensure only pure C code is used with some exceptions like __CLZ without any loss in functionality.

There are some macros related to align or restrict, which you could define(away) in your application. As for CLZ, the application can define it for now. Hope this non CMSIS-DSP solution helps.

from cmsis-nn.

petertorelli avatar petertorelli commented on July 30, 2024

@felix-johnny Thanks for the response. It makes sense, in that I would expect eyebrows to be raised if someone asked if an Arm hardware library had plans for x86 compatibility. However sometimes it is a lot easier to bring up examples and tests on a host (cough audiomark cough). __CLZ was unique in that there were no other intrinsics exposed, this lead me to believe I was doing something wrong. All good, thanks!

from cmsis-nn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.