commit | 84d9957dc314a87d45f8926598f3808b39ad3999 | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Wed Jan 11 11:49:14 2023 -0800 |
committer | GitHub <noreply@github.com> | Wed Jan 11 11:49:14 2023 -0800 |
tree | 46ae424b492dd8b3d35e7c7b76401fb0ef2b07a7 | |
parent | 5b9a761b57d16c2aea78c5d5cccb60fc4acd11bd [diff] |
Make loop_emscripten stateful and allow for multiple instances. (#11507) Follow-up to https://github.com/iree-org/iree/pull/11204. * In C, each `iree_loop_emscripten_t` now tracks a `iree_loop_emscripten_scope_t` handle * In JS, some new classes are added: * `LoopEmscriptenScope`: a collection of pending operations that can be aborted together * `LoopCommand` / `LoopCommandCall`: polymorphic containers for pending operations with support for aborting. The plan is to add more classes for other operations as I implement them. I'm still testing using loop_test.h (which depends on `iree_loop_drain()` and thus falls over immediately when this yields to the event loop), but I've started work on an alternate implementation written in JS.
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.