Skip to content

Add runtime tracing support to passes under IREE's PassManager usage. - #5160

Merged
ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:compiler-tracing
Mar 22, 2021
Merged

ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:compiler-tracing

Conversation

@ScottTodd

@ScottTodd ScottTodd commented Mar 18, 2021 •

Copy link
Copy Markdown
Member

Thanks to this tip way back on Discord :D

Sample instrumented trace:
image

That trace is measuring a debug compile of this model/flag combination: https://github.com/google/iree/blob/789689dd12a7d17292e2371945d72e56447f53f6/iree/test/e2e/models/CMakeLists.txt#L54-L65

@ScottTodd ScottTodd added compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) performance ⚡ Performance/optimization related work across the compiler and runtime labels Mar 18, 2021
@ScottTodd
ScottTodd requested a review from benvanik March 18, 2021 18:57
@google-cla google-cla Bot added the cla: yes label Mar 18, 2021
@ScottTodd
ScottTodd merged commit 6ac0023 into iree-org:main Mar 22, 2021
@ScottTodd
ScottTodd deleted the compiler-tracing branch March 22, 2021 21:45
@ScottTodd ScottTodd mentioned this pull request Mar 23, 2021
copybara-service Bot pushed a commit that referenced this pull request Mar 23, 2021
* 82d8765 Merge branch 'google' into main-to-google
* b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (#5209)
* b67af5a Clean up several CMake options configured for our CI builds. (#5197)
* ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (#5205)
* 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (#5203)
* ff69d02 Move prepration of benchmark files to python script. (#5201)
* 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (#5198)
* 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (#5160)
* 2e41217 Bump Benchmark submodule to 39c8d58 (#5196)
* 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (#5164)
* 963beb9 Plumb pooling ops through Linalg on tensors path. (#5136)
* a33f72f Plumb depthwise convolution in Linalg on tensors. (#5189)
* 2864ee4 Add restrictions for enabling generic op vectorization. (#5188)
* 4f218a8 Make sure convolution vectorization is off when the option flag is off (#5187)
* 44736b5 build_tools:cmake:riscv: Fix the system library path (#5175)
* 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (#5119)
* da4ad51 Fix and re-enable jax testing (#5183)
* 301bc15 Merge google -> main (#5182)
* 400719c Shuffling around/removing some HLO deps.
* 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (#5180)
* 52f02af Resolve name conflicts while linking executables in LLVM. (#5179)
* 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up..

COPYBARA_INTEGRATE_REVIEW=#5212 from ScottTodd:main-to-google 82d8765
PiperOrigin-RevId: 364658113
iree-github-actions-bot pushed a commit that referenced this pull request Mar 23, 2021
* 82d8765 Merge branch 'google' into main-to-google
* b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (#5209)
* b67af5a Clean up several CMake options configured for our CI builds. (#5197)
* ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (#5205)
* 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (#5203)
* ff69d02 Move prepration of benchmark files to python script. (#5201)
* 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (#5198)
* 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (#5160)
* 2e41217 Bump Benchmark submodule to 39c8d58 (#5196)
* 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (#5164)
* 963beb9 Plumb pooling ops through Linalg on tensors path. (#5136)
* a33f72f Plumb depthwise convolution in Linalg on tensors. (#5189)
* 2864ee4 Add restrictions for enabling generic op vectorization. (#5188)
* 4f218a8 Make sure convolution vectorization is off when the option flag is off (#5187)
* 44736b5 build_tools:cmake:riscv: Fix the system library path (#5175)
* 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (#5119)
* da4ad51 Fix and re-enable jax testing (#5183)
* 301bc15 Merge google -> main (#5182)
* 400719c Shuffling around/removing some HLO deps.
* 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (#5180)
* 52f02af Resolve name conflicts while linking executables in LLVM. (#5179)
* 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up..

PiperOrigin-RevId: 364658113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) performance ⚡ Performance/optimization related work across the compiler and runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants