commit | 38ca3be9293c2dda377fbc4595c5f314bfc0a97b | [log] [tgz] |
---|---|---|
author | Max191 <44243577+Max191@users.noreply.github.com> | Tue Jan 21 10:01:16 2025 -0500 |
committer | GitHub <noreply@github.com> | Tue Jan 21 07:01:16 2025 -0800 |
tree | fe13f7555f14078a3d0dd80d93fcb0ae503ea568 | |
parent | 4a7af8728126c722d4b293af1bc8bf21b732164a [diff] |
[GPU] Add SwapExpandShapeWithSlice pattern to loop fusion pass (#19729) This PR moves the `SwapExpandShapeWithSlicePattern` to Codegen/Common/Transforms, and adds the pattern to the FuseAndHoistParallelLoops pass. This pattern is generally useful for tiling fusion, because it exposes more producer fusion opportunities when there are reshapes in the IR, but more specifically, it is useful in combination with the pattern introduced in https://github.com/iree-org/iree/pull/19295. That pattern creates an expanded parallel_insert_slice, and an expand_shape on the corresponding init block arg in the forall loop body. This makes the slice on the init argument lower dimensional than the parallel_insert_slice at the end. It is better for bufferization if these slices are the same, and this pattern makes that happen by bubbling the slice of the init arg up through the expand_shape, increasing the dimensionality to match the parallel_insert_slice. --------- Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
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.