commit | 2452b2246211ac0999766dfc15bb5c929d34b01b | [log] [tgz] |
---|---|---|
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | Mon Jan 13 11:19:39 2025 -0800 |
committer | GitHub <noreply@github.com> | Mon Jan 13 13:19:39 2025 -0600 |
tree | 70c4752ec42b866afd9f7ac0a818c17323c5007f | |
parent | 2b29155a2ee9b7f9b5acdcd50c9206b25686cf26 [diff] |
[Codegen][GPU] Let integer range optimization narrow GPU computations to i32 (#19473) Add an option to -iree-util-optimize-int-arithmetic to have it perform computations in i32 where possible, which is enabled when optimizing arithmetic for GPU codegen. This allows LLVM co correctly conclude that various computations don't need to be done at full 64-bit precision, thus saving registers and instructions. (LLVM has some rewrites for this, but they're, for example, gated on only having one use of the potentially-truncated value, which means that shared math stays in an over-wide data type). This commit also marks several Vulkan tests as succeeding because they no longer need i64 arithmetic
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.
Releases notes are published on GitHub releases.
Package | Release status |
---|---|
GitHub release (stable) | |
GitHub release (nightly) | |
Python iree-base-compiler | |
Python iree-base-runtime |
Operating system | Build status |
---|---|
Linux | |
macOS | |
macOS | |
Windows |
For the full list of workflows see https://iree.dev/developers/general/github-actions/.
See our website for more information.
Community meeting recordings: IREE YouTube channel
Date | Title | Recording | Slides |
---|---|---|---|
2021-06-09 | IREE Runtime Design Tech Talk | recording | slides |
2020-08-20 | IREE CodeGen (MLIR Open Design Meeting) | recording | slides |
2020-03-18 | Interactive HAL IR Walkthrough | recording | |
2020-01-31 | End-to-end MLIR Workflow in IREE (MLIR Open Design Meeting) | recording | slides |
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.