commit | 205c88d2aa9d2a9366fbc1b09281db56d2a2238b | [log] [tgz] |
---|---|---|
author | Lei Zhang <antiagainst@gmail.com> | Tue Oct 24 19:09:18 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 24 19:09:18 2023 -0700 |
tree | 18de599fa0cc59d2e1a49d729eca897745f01281 | |
parent | 28732a27cd9d879871d681642f9ba0e1a0b8edbd [diff] |
[metal] Retain device until command buffer completion (#15288) We use resource sets in `iree_hal_metal_device_queue_execute` to keep track of command buffers and semaphores and release them when the command buffers complete. It would require the underlying block pool backing the resource sets to have a larger lifetime to make sure we don't access destroyed data structures. So we need to retain the device until the command buffer completes. Fixes https://github.com/openxla/iree/issues/14814
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.