Repository navigation
Merge main -> google - #4062
Merged
Merged
Merge main -> google#4062
Conversation
ScottTodd
commented
Dec 2, 2020
Member
- 6c9a860 Introduce hal.interface.tensor.load/store.tile (Introduce hal.interface.tensor.load/store.tile #4028)
- b2ec892 Fix printf format for uint64_t from PRIXPTR to PRIu64. (Fix printf format for uint64_t from PRIXPTR to PRIu64. #4055)
- 1617b07 Modify Dispatch region creation to only fuse Matmuls with compatible ops. (Add deferred calls to the sequencer IR and runtime #40..
- c6caf9e Set repetitions of benchmark to 10. (Set repetitions of benchmark to 10. #4053)
- cb88cb4 Add Mako related files to build_tools/mako/config/ (Add Mako related files to build_tools/mako/config/ #3851)
- 6a7c121 Adds -iree-tf-strip-*-metadata passes that remove tf attributes. (Adds -iree-tf-strip-*-metadata passes that remove tf attributes. #3969)
- 65d7d91 Auto discover unix linker path and setup Android NDK linker (Auto discover unix linker path and setup Android NDK linker #4034)
- aaeebf4 Exposing/implementing the HAL driver registry via the C API. (Exposing/implementing the HAL driver registry via the C API. #3937)
- 489046b Fix compile and benchmark scripts for benchmarking automation. (Fix compile and benchmark scripts for benchmarking automation. #4050)
- 0a33733 Add scripts to compile and benchmark modules. (Add scripts to compile and benchmark modules. #3852)
They are expected to use for benchmarking automation. Co-authored-by: Geoffrey Martin-Noble <[email protected]>
…org#4050) - Make compile_android_modules.sh to take the variable as target. - Remove `"` from numbers because they are NUMERIC. - Add `xtrace` to scripts to make debug easier.
…g#3937) Enables drivers to be provided externally by callers and discovered/loaded dynamically. Zero cost when applications explicitly create their own drivers directly (LTO stripped). Example use cases are compiling LLVM JIT in its own dylib, remote/sandboxed drivers enumerated based on availability, driver multiversioning, and out-of-tree drivers from downstream projects. Hooray for having a story that will prevent us from ever needing to link CUDA into our binaries ;) This also let me clean up some of the duplication that had crept in with multiple places all doing driver querying/filtering/etc (and sometimes in slightly different ways). It's intentional that we don't have a non-test utility for that, as non-test targets should not be trying to create all drivers and ignoring any of the metadata the driver registry is now able to provide.
…#4034) Change default behavior when `IREE_LLVMAOT_LINKER_PATH` isn't set for unix host and target systems: - For unix host & target search for system linker path. - For android target set up linker path using ANDROID_NDK variable.
…e-org#3969)  While here I noticed that this directory is a mismatch of styles from MLIR and TF, wasn't properly namespaced (both on pass names or C++) in many places, and didn't follow the rest of the conventions used in iree/compiler/. To make this code easier to maintain and before we start to copypasta it for other integrations I did a first-pass cleanup. I also noticed we still had a bunch of super flakey alwayslink stuff so I fixed that too. No more alwayslink required! Fixes iree-org#3965.
Co-authored-by: Geoffrey Martin-Noble <[email protected]>
This allows us to get more sample points in one run, and can get more stable results. Ignore the report of mean/median/stddev because Mako can deal with them.
…ops. (iree-org#4040) The fusion of Matmul/BatchMatmul with element-wise operations only works for consumers where the output shape is compatible with the output of the op. Adapt the dispatch region creation logic to account for that. Also make reshape always fused with its producers or consumers. Note that these enhancements to dispatch region creation are mostly temporary and just to tide over things as the underlying codegeneration gets more features.
Should fix: `format specifies types 'unsigned int' but the argument has type 'iree_hal_driver_id_t' (aka 'unsigned long long') [-Werror,-Wformat]`
This revision introduces a tiled tensor.load/store interface abstraction that is expected to help bridge the tensor - buffer gap after "linalg on tensor"-based transformations. At this time, only the vanilla core OffsetSizeAndStrideOpInterface verification is implemented. Further type verification and canonicalizations are left for the future, on a per-need basis.
Merged
ScottTodd
added a commit
that referenced
this pull request
Dec 4, 2020
* eb8eb07 Synchronize submodules * 9506ede Synchronize submodules with LLVM at llvm/llvm-project@f5d52916ce34 * 5604371 Synchronize submodules * 9cf41e2 Integrate LLVM at llvm/llvm-project@f5d52916ce34 * 9c1b59e Synchronize submodules * bb9fb65 Integrate LLVM at llvm/llvm-project@55db6ec1cc20 * 68b8767 [mlir][NFC] Replace usages of Function.h and Module.h with BuiltinOps.h * 559963d Synchronize submodules * bed3587 Integrate LLVM at llvm/llvm-project@18603319321a * d2fe4e7 Synchronize submodules * ba66fa0 Integrate LLVM at llvm/llvm-project@6627a3c2873f * 7306180 Merge pull request #4062 from ScottTodd:main-to-google * b195cb2 Synchronize submodules * 3dc43f4 Integrate LLVM at llvm/llvm-project@baa005c96ce6 * 41aadf2 Synchronize submodules * 21b4c57 Integrate LLVM at llvm/llvm-project@b40b3196b321 * 69f19b3 Merge main -> google (#4048) * a013c43 Synchronize submodules * 30dd99e Integrate LLVM at llvm/llvm-project@c266c56d545d * 6b92cfc Synchronize submodules
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.