Giter Site home page Giter Site logo

Comments (4)

zpl-zak avatar zpl-zak commented on May 14, 2024

As of 10.13.x the threading module is enabled on ARMv6 and up families. Atomics currently use the standard c11 atomics library, however ideally it should be replaced by arch specific code later in the future.

Apple M1 support has been added as of 11.0.2 as well, with the same constraints as noted above.

Since C++ does not support C11 atomics library, you can't build zpl on ARM family in C++ projects, more reason to seek a way of replacing it.

from zpl.

zpl-zak avatar zpl-zak commented on May 14, 2024

We should also consider making the atomics module optional, a good idea would be to scan and verify an internal usage of this module within ZPL itself.

If not possible, we should figure out how to ensure the atomics module operates correctly in C++ and does not depend on the C11 atomics standard library.

from zpl.

zpl-zak avatar zpl-zak commented on May 14, 2024

Worth to look at: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html

from zpl.

zpl-zak avatar zpl-zak commented on May 14, 2024

11.0.11 replaces the need for c11 atomics, meaning we can use atomics in C++ on ARM now!

from zpl.

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.