commit | e33613c77a83c39b8c2d36a8923a9aad629d034c | [log] [tgz] |
---|---|---|
author | bjacob <benoitjacob@google.com> | Mon Oct 16 13:37:52 2023 -0400 |
committer | GitHub <noreply@github.com> | Mon Oct 16 17:37:52 2023 +0000 |
tree | f5be7824ae2ba40fbf934302e1b149f416e51c8f | |
parent | 467c86e2677ae3eda1871d09c4611b89dbf12954 [diff] |
Fix allocator crashes on Apple (#15199) Some tests are crashing on macOS. `std::aligned_alloc` is being incorrectly used. Two issues: 1. The alignment<->size parameter order was reversed. 2. Unlike other similar aligned-alloc functions, it requires the size to be a multiple of alignment. So we have to do the rounding up to next multiple of aligment on our side. And then, since we should try to be correct in allocator code, we have to be careful with the possibility that that would overflow the size type.
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.