Skip to content

Merge main -> google - #4062

Merged
copybara-service[bot] merged 10 commits into
iree-org:googlefrom
ScottTodd:main-to-google
Dec 3, 2020
Merged

copybara-service[bot] merged 10 commits into
iree-org:googlefrom
ScottTodd:main-to-google

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

hanhanW and others added 10 commits December 2, 2020 00:27
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)

![me](https://media1.tenor.com/images/34584055d25cd4fa2db8521257bcfc05/tenor.gif)

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.
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.
@google-cla google-cla Bot added the cla: yes label Dec 2, 2020
@copybara-service
copybara-service Bot merged commit 7306180 into iree-org:google Dec 3, 2020
@ScottTodd ScottTodd mentioned this pull request Dec 4, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants