Skip to content

Merge main -> google - #4576

Merged
copybara-service[bot] merged 8 commits into
iree-org:googlefrom
hanhanW:main-to-google
Jan 22, 2021
Merged

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

Conversation

@hanhanW

@hanhanW hanhanW commented Jan 22, 2021

Copy link
Copy Markdown
Contributor

rsuderman and others added 8 commits January 20, 2021 12:08
Hooks up TOSA with the LLVM and SPIRV backends. This includes a set of tests for
supported TOSA lowerings.
After Linalg fusion on tensors, we sometimes push up some
linalg.tensor_reshape ops, which causes `slice + reshape + generic`. We
do not know how to handle this kind of case correctly. Disable it to
unblock other works for now.
Checks in a build.gradle file for compiling an android library file, and updates the readme with instructions for how to generate the AAR on linux. Progress on iree-org#4464

gradlew, gradlew.bat, gradle/wrapper/gradle-wrapper.jar, and gradle/wrapper/gradle-wrapper.properties are all files generated by Android Studio. I am including them to keep with the convention most other apps seem to use (example https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android)
Just i32i32.i32 for now. Other cases proved to be far more complicated
than expected. This includes making our template parameters indicate
the full versatility of ruy's matmul.
…e-org#4563)

Current implementation of the Linalg on tensors path is only tested
with static tile sizes specified at command line. In this PR
- Use `flow.dispatch.workgroup.size` to represent the dynamic tile
  size used
- After conversion to HAL, where `flow.dispatch.workgroup.size` gets
  replaced by `hal.interface.workgroup.size`, use LaunchConfig to set
  the value of `hal.interface.workgroup.size` to a static value.
- This effectively replace the first level of tiling done by the
  existing codegen paths. The rest of the codegen can then be used
  with this path.
Also included all minor fixes needed to plumb everything through.
…oLLVM2 (iree-org#4572)

Bumping the pattern makes the pattern in IREE trigger before a similar
pattern in MLIR core that is added to the pattern list by
`populateStdToLLVMConversionPatterns`.

Fixes iree-org#4409
@google-cla google-cla Bot added the cla: yes label Jan 22, 2021
@copybara-service
copybara-service Bot merged commit 0cc5a76 into iree-org:google Jan 22, 2021
@hanhanW
hanhanW deleted the main-to-google branch January 22, 2021 06:16
@hanhanW hanhanW mentioned this pull request Jan 22, 2021
hanhanW added a commit that referenced this pull request Jan 22, 2021
* 0cc5a76 Merge pull request #4576 from hanhanW:main-to-google
* be53d0c Synchronize submodules with LLVM at llvm/llvm-project@39db5753f993
* 3d9dfd4 Integrate LLVM at llvm/llvm-project@39db5753f993
* 65a3989 Integrate LLVM at llvm/llvm-project@9dd5aea1e039
* 6c0e0a2 Integrate LLVM at llvm/llvm-project@0eeb15741bda
* 65c94c7 Integrate LLVM at llvm/llvm-project@726de41e2bfb
* 2b20b02 Integrate LLVM at llvm/llvm-project@71635ea5ffd6
* 9c31b52 Integrate LLVM at llvm/llvm-project@e996f1d4194b
* 40897d7 Merge pull request #4560 from hanhanW:main-to-google
* a98f58b Synchronize submodules with LLVM at llvm/llvm-project@96ef4f307df2
* 0f71923 Integrate LLVM at llvm/llvm-project@96ef4f307df2
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