From c128450a8b041223c142854d60a73b23aa37e120 Mon Sep 17 00:00:00 2001
From: Scott Todd Some initial boilerplate happens around our This project follows the
OpenXLA Code of Conduct. Contributors must certify that they wrote or otherwise have the right to submit
+the code they are contributing to the project. By making a contribution to this project, I certify that: The contribution was created in whole or in part by me and I have the
+ right to submit it under the open source license indicated in the file; or The contribution is based upon previous work that, to the best of my
+ knowledge, is covered under an appropriate open source license and I have
+ the right under that license to submit that work with modifications, whether
+ created in whole or in part by me, under the same open source license
+ (unless I am permitted to submit under a different license), as indicated
+ in the file; or The contribution was provided directly to me by some other person who
+ certified 1., 2. or 3. and I have not modified it. I understand and agree that this project and the contribution are public
+ and that a record of the contribution (including all personal information
+ I submit with it, including my sign-off) is maintained indefinitely and
+ may be redistributed consistent with this project or the open source
+ license(s) involved. Signing is enforced by the DCO GitHub App. This
+requires that all commits included in pull requests include a Git will automatically append this message if you use the Users of Visual Studio Code can add
+ For more information about DCO enforcement and git workflows, see the
+ dcoapp/app repository. CLA is being replaced with DCO. Both are enabled while we migrate. Contributions to this project must be accompanied by a Contributor License
Agreement (CLA). Head over to https://cla.developers.google.com/ to see
your current agreements on file or to sign a new one. The The
+ The
+ Most of the code style is derived from the
Google Style Guides for the appropriate
@@ -3992,6 +4081,12 @@ Overview of the compilatio
asm
object
vmfb
-end
+end
+
+style Part1 stroke:#FDD835,stroke-width:2px
+style Part2 stroke:#039BE5,stroke-width:2px
+style Part3 stroke:#43A047,stroke-width:2px
🟨 Part 1: MLIR code generationlink
linalg.matmul
before anything
interesting happens to it.:Static-shape, eleme
--iree-hal-target-backends=
. You will then need to pass a matching
--device=
to iree-run-module
below.
--iree-llvmcpu-target-triple=
.
--iree-llvmcpu-target-cpu=
(e.g.
- --iree-llvmcpu-target-cpu=znver4
to target AMD Zen4).--iree-llvmcpu-target-cpu=znver4
to target AMD Zen4).--iree-llvmcpu-target-cpu-features=
.--iree-llvmcpu-target-cpu=host
. That works regardless of
- CPU architecture.--iree-llvmcpu-target-cpu=host
. That works regardless of
+ CPU architecture.
+
+
iree-compile
flags.Developer policies Code of conductlink
Developer Certificate of Originlink
+Expand to read the full DCO agreement text
+
+
+Signed-off-by
+line:This is my commit message
+
+Signed-off-by: Random J Developer <random@developer.example.org>
+
+
-s
option:git commit -s -m 'This is my commit message'
+
"git.alwaysSignOff": true,
in their settings. Contributor License Agreementlink
+
+
AUTHORS
file keeps
+track of those who have made significant contributions to the project.
+
+.github/CODEOWNERS
file
+lets maintainers opt in to PR reviews modifying certain paths.
+
+MAINTAINERS.md
file
+documents official maintainers for project components.build_tools/scripts/lint.sh
can also be used to run the full suite of lint checks.
With few exceptions, features should be accompanied by automated tests.
+We use a mix of in-tree and out-of-tree unit and integration tests. For more +information about the types of tests used across the project, refer to the +testing guide.
+All submissions, including submissions by maintainers, require review. We use GitHub pull requests (PRs) for this purpose. Consult @@ -4005,11 +4100,6 @@
With few exceptions, features should be accompanied by automated tests.
-We use a mix of in-tree and out-of-tree unit and integration tests. For more -information about the types of tests used across the project, refer to the -testing guide.
We use GitHub Actions to automatically build and test various parts of the project.
@@ -4017,8 +4107,9 @@After review and presubmit checks, PRs should typically be merged using "squash and merge".
@@ -4082,18 +4170,40 @@If you would like additional recognition for your contributions, you may add -yourself or your organization to the -AUTHORS file that keeps -track of those who have made significant contributions to the project.
-Most work should be done on +repository forks. +For developers with write access, when creating a branch in the common +iree-org/iree repository, please follow +these naming guidelines:
+Branch type | +Naming scheme | +Example | +
---|---|---|
Single user | +users/[username]/* |
+users/cooldeveloper/my-awesome-feature |
+
Shared feature branch | +shared/* |
+shared/pytorch-performance-sprint |
+
Dependency updates | +integrates/* |
+integrates/integrate-llvm-20240501 |
+
Branches that do not meet these guidelines may be deleted, especially if +they appear to be stale.