commit | eef462316479bb927c00e63caafccf8a7077f6bc | [log] [tgz] |
---|---|---|
author | Jakub Kuderski <jakub@nod-labs.com> | Mon Sep 23 09:33:16 2024 -0400 |
committer | GitHub <noreply@github.com> | Mon Sep 23 13:33:16 2024 +0000 |
tree | 4ca62f47fd8a517e1e20b29dcbe4c64a8f625985 | |
parent | 5a6bd8d9ca463f4774b9424047028260fb0d7606 [diff] |
[LLVMGPU][ROCm] Move kernel annotation before serialization (#18573) ROCMTarget serialization is not the best location for this code because it violates the following invariant in `buildLLVMGPUCodegenPassPipeline`: > - The module contains the final llvm.module ready to be serialized. Specifically, requiring the ROCDL dialect to be loaded is problemantic during serialization, as target-agnostic serialization in (`iree-hal-serialize-executables`) does not register dependent dialects. This PR moves kernel annotation just after conversion to ROCDL in the `LowerToGPUPasses` pass pipeline. Also add kernel annotation tests that were not straightforward to add before, as annotation was not a freestanding pass whose output could be inspected.
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
Package | Release status |
---|---|
GitHub release (stable) | |
GitHub release (nightly) | |
Python iree-compiler | |
Python iree-runtime |
Host platform | Build status |
---|---|
Linux | |
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
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.