Skip to content

Merge main -> google - #4352

Merged
GMNGeoffrey merged 5 commits into
iree-org:googlefrom
GMNGeoffrey:main-to-google
Dec 30, 2020
Merged

GMNGeoffrey merged 5 commits into
iree-org:googlefrom
GMNGeoffrey:main-to-google

Conversation

@GMNGeoffrey

Copy link
Copy Markdown
Member

ScottTodd and others added 5 commits December 29, 2020 13:13
* c20782e Synchronize submodules
* ab99b36 Synchronize submodules with LLVM at llvm/llvm-project@930c74f12d79
* cb34d47 Revert "Rename WORKSPACE to WORKSPACE.bazel"
* f58a69f Merge pull request iree-org#4336 from ScottTodd:main-to-google
* 2259805 Fix MLIRLinalgToSPIRVTransforms -> MLIRLinalgToSPIRV target naming.
* 8e3ded1 Synchronize submodules
* 6d0d094 Integrate LLVM at llvm/llvm-project@930c74f12d79
…ee-org#4341)

This is just a placeholder; no mapping from non-rank-3 dispatches to the
required rank-3 HAL ops is performed and it's assumed that the ops have
already been normalized to rank-3.
* Adding a default conversion for flow.dispatch.workgroup.* -> HAL.
This is just a placeholder; no mapping from non-rank-3 dispatches to the
required rank-3 HAL ops is performed and it's assumed that the ops have
already been normalized to rank-3.

* Replacing flow.dispatch with flow.dispatch2.
The new dispatch op takes N-dimensional workgroup counts whereas the old
one just took 1D workloads. This allows us to specify the workgroup
counts when forming the dispatch regions in their natural form and defer
remapping them to the HAL's 3D XYZ until we know the target and are
recording the hal.command_buffer.dispatch ops, though the mechanism still
needs some work.

The legacy dispatch paths for non-linalg-on-tensors thread through with
the assumption that they have 1D workloads still; as we make more progress
on iree-org#4140 we can hopefully remove these.

See iree/compiler/Dialect/HAL/Conversion/FlowToHAL/test/stream_ops.mlir's
dynamic_tiled_dispatch for IR before/after on the new path.
@google-cla google-cla Bot added the cla: yes label Dec 30, 2020
@GMNGeoffrey
GMNGeoffrey merged commit acbf32f into iree-org:google Dec 30, 2020
@GMNGeoffrey
GMNGeoffrey deleted the main-to-google branch December 30, 2020 17:53
hanhanW added a commit that referenced this pull request Jan 6, 2021
* d8bc853 Synchronize submodules
* ba01437 Integrate LLVM at llvm/llvm-project@8bee4d4e8f54
* 4e1afba Synchronize submodules
* 871cae9 Integrate LLVM at llvm/llvm-project@51a292d99453
* 00d3a8a Synchronize submodules
* f2d3999 Synchronize submodules with LLVM at llvm/llvm-project@2016f2c8a76d
* acbf32f Merge pull request #4352 from GMNGeoffrey:main-to-google
* 3e55be4 Synchronize submodules
* 80362d1 Integrate LLVM at llvm/llvm-project@2016f2c8a76d
* 0ef2e83 Synchronize submodules
* d1284d7 Integrate LLVM at llvm/llvm-project@8001dcbd50ce
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.

4 participants