commit | 5da8c71abb15ec556d14fe388c53c48b9defe637 | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Tue Jun 06 11:31:09 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 06 11:31:09 2023 -0700 |
tree | b6a21ab186b3eb9862b22440a4144e9d78f772e6 | |
parent | 18a1bac40e049075567b6500a3c81f95eca57052 [diff] |
Add `iree-stream-resource-alias-mutable-bindings` flag. (#13965) This pass option is currently necessary to run some WebGPU programs correctly, so this adds a compiler flag to set it. Without the option, I see errors like ``` Writable storage buffer binding aliasing found between [BindGroup] set at bind group index 0, binding index 0, and [BindGroup] set at bind group index 0, binding index 2, with overlapping ranges (offset: 0, size: 256) and (offset: 0, size: 256) in [Buffer]. - While encoding [ComputePassEncoder].DispatchWorkgroups(1, 5, 1). [Invalid CommandBuffer] is invalid. at ValidateObject (../../third_party/dawn/src/dawn/native/Device.cpp:689) at ValidateSubmit (../../third_party/dawn/src/dawn/native/Queue.cpp:442) ``` We can't enable the option by default yet, since it causes some severe performance regressions on CUDA: https://github.com/openxla/iree/pull/13323. The tests also have a few suspicious TODOs, but I want to unblock correctness testing on WebGPU before digging in deeper.
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.