Skip to content

Merge main -> google - #5944

Merged
copybara-service[bot] merged 12 commits into
iree-org:googlefrom
hanhanW:main-to-google
May 18, 2021
Merged

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

Conversation

@hanhanW

@hanhanW hanhanW commented May 18, 2021

Copy link
Copy Markdown
Contributor

ScottTodd and others added 12 commits May 17, 2021 14:37
* Add std.assert -> vm.fail lowering.

Fixes iree-org#5923
This patch adds the compiler passes to lower linalg to
ROCDL and adds the ROCMTarget. The code follows the CUDA
backend closely.
* e6f699b Merge pull request iree-org#5927 from hanhanW:main-to-google
* ec0ba63 Synchronize submodules with LLVM at llvm/llvm-project@ab5ff154abe5
* 1651faf Integrate LLVM at llvm/llvm-project@ab5ff154abe5
* 7db704b Fix incorrect dependency on mlir::createLowerAffinePass
* ba64443 Integrate LLVM at llvm/llvm-project@8854b27b198c
* 33db7b1 Integrate LLVM at llvm/llvm-project@50511df32edf
* 295aaac Integrate LLVM at llvm/llvm-project@7c16f93c44ca
* a0789cd Integrate LLVM at llvm/llvm-project@a11117a7c0a2
* 0da241b Integrate LLVM at llvm/llvm-project@88a8965a7d93
* Clarify unchecked "supported" platforms/configs
* Rename "Linux" to "Linux and MacOS" in a few places
* Suggest `-DCMAKE_BUILD_TYPE=RelWithDebInfo` in CMake configure commands
Add a barrier after each clone. If the original dispatch has a small
problem size, simply duplicating without barrier will increasing the
number of subgroups and thus "help" filling the GPU. In the end we
will have an over optimistic result. Put in barriers avoids that,
but it assumes the input model is linear.

With this, the reported number reflects the kernel execution time
for MobileNetv2 with

```
iree-translate ... --iree-hal-benchmark-dispatch-repeat-count=32
iree-benchmark-module ... --batch_size=32
```

This is a step towards iree-org#5248.
Next is working on duplicating the command buffer submission
as a whole.
This makes older clang-format do the right thing as disableFormat wasn't
disabling include sorting.
@google-cla google-cla Bot added the cla: yes label May 18, 2021
@copybara-service
copybara-service Bot merged commit eac55b6 into iree-org:google May 18, 2021
@hanhanW hanhanW mentioned this pull request May 18, 2021
hanhanW added a commit that referenced this pull request May 19, 2021
* eac55b6 Merge pull request #5944 from hanhanW:main-to-google
* 24b5f7e Synchronize submodules with LLVM at llvm/llvm-project@638166458008
* b82ab2a Separate CHLO transforms for expanding compositions and lowering broadcasts.
* 6d11106 Integrate LLVM at llvm/llvm-project@638166458008
* 5016653 Integrate LLVM at llvm/llvm-project@560b709abedc
* 28f6669 Integrate LLVM at llvm/llvm-project@f8dbd6107417
* 1104d0b Integrate LLVM at llvm/llvm-project@3bc2b97b34ff
* 7fc3dda Integrate LLVM at llvm/llvm-project@e2e1a78abcef
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.

7 participants