Repository navigation
Merge main -> google - #3142
Merged
copybara-service[bot] merged 10 commits intoSep 15, 2020
Merged
Merge main -> google#3142
Conversation
ScottTodd
commented
Sep 14, 2020
Member
- a5063ef Switch to using digests for Kokoro builds (Switch to using digests for Kokoro builds #3119)
- 6c1a3f6 [vulkan] Fix VmaBuffer fill and copy ([vulkan] Fix VmaBuffer fill and copy #3135)
- 26dbfe5 Enable floor test on vulkan-spirv and llvm-ir (Enable floor test on vulkan-spirv and llvm-ir #3134)
- 786da0d [metal] Initial bring up of Metal HAL driver (2/n) ([metal] Initial bring up of Metal HAL driver (2/n) #3093)
- 8bd33b4 Fixing leak in Memory leak in iree/vm:native_module_test #3122 (test-only issue). (Fixing leak in #3122 (test-only issue). #3130)
- c636aa7 Merge google -> main (Merge google -> main #3123)
- 2a8f957 Boolean constant support (Boolean constant support #3066)
- e8fa1a2 Split TargetBackend filter/name into two fields. (Split TargetBackend filter/name into two fields. #3124)
- 6e0d638 Add "noasan" label to native_module_test
- 45d9716 Clean up HAL dispatch ops to not track redundant state. (Clean up HAL dispatch ops to not track redundant state. #3121)
* `hal.device` can be retrieved from `hal.command_buffer` * `hal.executable` can be retrieved from `@executable::@target::@entry_point` nested references This adds a new `hal.command_buffer.device` op to help keep the IR tidy, with a new canonicalization pattern for when it refers to a device that was created in the same scope. Since the new op is created within a `hal.device.switch`, the canonicalization is not used. However, since `MaterializeResourceCachesPass` does not yet support multiple devices, the lowerings still "work" as written today, without needing to add a runtime op for the device query. Progress on iree-org#1890
Note: keeping these uses of `name()`: https://github.com/google/iree/blob/45d971608fe91e119d7f9dbef5a0b6a1f9e0edd7/iree/compiler/Dialect/HAL/Target/TargetRegistry.cpp#L66-L68 https://github.com/google/iree/blob/45d971608fe91e119d7f9dbef5a0b6a1f9e0edd7/iree/compiler/Dialect/HAL/Transforms/LinkExecutables.cpp#L44-L47
* 5b26407 Merge pull request iree-org#3120 from hanhanW:main-to-google * f3ed1be Synchronize submodules * bbd6a602 Integrate LLVM at llvm/llvm-project@009cd4e49103 * 2728681 Synchronize submodules * 0857d5f Integrate TF at tensorflow/tensorflow@ef9971b6d7a1 * e9b83a4 Synchronize submodules * f32f2ae Integrate LLVM at llvm/llvm-project@be7cef789e75 * 388e74b Remove mlir-auto-init.cpp : registration is explicit now.
This commits adds Metal implementation for hal::Allocator and hal::Buffer and completed command buffer APIs for filling/copying buffers. CTS tests are updated to cover the new APIs implemented.
Also sort vulkan tests alphabetically. Fixes iree-org#1696
MapMemory() already handles the offset. There is no need to add the offset again when filling or copying.
Note that we still specify the container that Kokoro preloads on VM creation based on the `prod` tag, so it remains important to update that. If the sha256 specified matches the already loaded image, Docker will recognize this and not pull again. There are no new download steps in the logs for the Kokoro runs here. Contrast with the case where Docker can't find the image and pulls it when `docker run` is invoked: ["Unable to find image 'gcr.io/iree-oss/bazel:latest' locally latest: Pulling from iree-oss/bazel"](https://source.cloud.google.com/results/invocations/e7b18431-2183-4fe1-9616-6f43b0f619a9/) Note that the swiftshader builds actually do have download steps. Looks like we didn't set up preloading for those images (although it only appears to take 15 seconds, so maybe that isn't such a big deal...) This mostly involves renaming and expanding the python script for managing our docker containers, including adding functionality to update image references and fixing the broken topological sort function. Part of iree-org#3117
Merged
ScottTodd
added a commit
that referenced
this pull request
Sep 15, 2020
* 72f9c3c Merge pull request #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
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.