Repository navigation
Merge main -> google - #3160
Closed
ScottTodd wants to merge 6 commits into
Closed
Merge main -> google#3160ScottTodd wants to merge 6 commits into
ScottTodd wants to merge 6 commits into
Conversation
* 72f9c3c Merge pull request iree-org#3142 from ScottTodd:main-to-google * 2fbc097 Synchronize submodules * 966ae6d Integrate TF at tensorflow/tensorflow@86b67b8c829a * f17c599 Synchronize submodules * 06f383a Integrate LLVM at llvm/llvm-project@7841e21c9849 * 1ca3126 Synchronize submodules * 637f25b Integrate LLVM at llvm/llvm-project@c799f873cb9f * 7a15ffb Synchronize submodules * 58126a1 Integrate LLVM at llvm/llvm-project@0008fb343704 * b0a428e Synchronize submodules * 37c516f Integrate LLVM at llvm/llvm-project@cb3e1dd6c31e * a618224 Synchronize submodules * 5aa4f0e Integrate LLVM at llvm/llvm-project@c0bcd11068fc * 43a979f Synchronize submodules * 16f9bce Integrate LLVM at llvm/llvm-project@f086e85eea94 * b0a497a Synchronize submodules * 5845ac5 Integrate LLVM at llvm/llvm-project@70daa353e2ae * 43eeb1e Synchronize submodules * 6e1f490 Integrate LLVM at llvm/llvm-project@c2f8bc986fb3 * 611c9a1 Synchronize submodules * 8745b7a Integrate LLVM at llvm/llvm-project@0680a3d56d8b * a93f413 Synchronize submodules * 90305fd Integrate LLVM at llvm/llvm-project@0e0d93e2f09a * 5754997 Synchronize submodules * fb7b8fe Integrate LLVM at llvm/llvm-project@f2bb4b88550a
iree-org#3095) The current mechanism of deciding number of workgroups to use for the launch uses an enumeration of fixed strategies. This is not sufficient to cover all uses. This commit adds a new mechanism where the codegeneration passes generate the function to use that when called from the host side will return the number of workgroups to use. The arguments to the function are the shapes of the inputs and outputs to the dispatch region. Currently this is enabled only for static shapes, since there are some unresolved issues w.r.t to the dynamic shape case.
…org#3140) This commit just extracts some common SPIR-V target functionalities into a new class so that later we can reuse them for a Metal-SPIRV compiler target backend. It's pure refactoring plus removing unnecessary header includes and library dependencies, so NFC.
) Refactors Docker setup to enable multistage builds and fully support Vulkan. 1. Vulkan is now supported in all our build configurations and IREE_VULKAN_DISABLE is set to false in all build scripts. 2. Our docker containers use multi-stage builds to reduce duplication and image size. 3. Directory names match image names rather than having arbitrary underscore/dash distinction (I kept mistyping this). New vs old images: https://gist.github.com/GMNGeoffrey/6ea51a6035f3eb8fac11ff4bdbd6edc0 Fixes iree-org#2651
Co-authored-by: Marius Brehler <[email protected]>
Rather than updating TF to HEAD and updating the LLVM commit to match, this script uses the LLVM commit as a synchronization point, which is more in keeping with our current setup (we've had the LLVM update feature turned off for a while now anyway). This will later expand to other repositories that synchronize with LLVM (mlir-hlo, llvm-bazel, etc.). I'm holding off on generalizing the script much until we have those use cases, so the TF stuff is pretty hardcoded. Here's an example TF PR from the script: iree-org#3154
copybara-service Bot
pushed a commit
that referenced
this pull request
Sep 16, 2020
* 903f809 Script to update to llvm syncpoint (#3155) * a398c96 Translate VM Function to C Code (#2842) * f941efb Multistage docker containers with RBE swiftshader support (#3065) * b7d5710 [spirv] Extract common SPIR-V target functionalities out (NFC) (#3140) * f5fe759 Use generated function to compute number of workgroups to be launched. (#3095) * b89191c Merge google -> main (#3143) COPYBARA_INTEGRATE_REVIEW=#3160 from ScottTodd:main-to-google 903f809 PiperOrigin-RevId: 331891580
ScottTodd
added a commit
that referenced
this pull request
Sep 16, 2020
* 903f809 Script to update to llvm syncpoint (#3155) * a398c96 Translate VM Function to C Code (#2842) * f941efb Multistage docker containers with RBE swiftshader support (#3065) * b7d5710 [spirv] Extract common SPIR-V target functionalities out (NFC) (#3140) * f5fe759 Use generated function to compute number of workgroups to be launched. (#3095) * b89191c Merge google -> main (#3143) COPYBARA_INTEGRATE_REVIEW=#3160 from ScottTodd:main-to-google 903f809 PiperOrigin-RevId: 331891580
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.