commit | e05a68d231678cc17a78bd5b708a35f23364fc5e | [log] [tgz] |
---|---|---|
author | Ben Vanik <ben.vanik@gmail.com> | Wed Apr 13 14:13:17 2022 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 13 14:13:17 2022 -0700 |
tree | f42f165955828a8627779a6d3ac7cae696d864ee | |
parent | b4c09637a67492be2fdb125054cf4535947ea3ea [diff] |
Rearranging iree_notification_t code to make it easier to follow. (#8877) The mix of atomic/futex and pthreads operations made it hard to know when the pthread mutex should be locked and when atomics were ok. The disabled synchronization path that no-op'ed also obscured the intended behavior. Now we have the divergent code split up more cleanly so that we can more easily inspect it for correctness. iree_notification_await is left shared across the implementations to preserve program behavior (that the condition is not checked with a lock held) though we could probably tweak that if we wanted. Erring on the side of keeping things the same for now. Integrates the fix from #8876 for a hang/deadlock when using pthreads.
IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.