Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build symbolic shape calculation propagation infrastructure #36

Closed
benvanik opened this issue Oct 13, 2019 · 0 comments
Closed

Build symbolic shape calculation propagation infrastructure #36

benvanik opened this issue Oct 13, 2019 · 0 comments
Labels
enhancement ➕ New feature or request

Comments

@benvanik
Copy link
Collaborator

A core idea of the dynamic shape system in IREE is that we can build a deterministic shape calculation table for each function that is based entirely on the input argument shapes. All shapes then used within the function can be looked up in that table by the sequencer and possibly evaluated during recording and allocations, copies, etc can all use those references in to allow them to be performed parametrically. This avoids the need for fully dynamic dispatch and allows us to still plan allocations and aliasing at compile-time.

This work would be to derive the table at compile-time, reference the table in various sequencer IR ops that may require it (workloads, allocations, etc), and propagate it through function calls where possible.

@benvanik benvanik added the enhancement ➕ New feature or request label Oct 13, 2019
@benvanik benvanik added this to the Dynamic Shapes milestone Oct 13, 2019
@benvanik benvanik added this to Ideas in Compiler Development via automation Oct 13, 2019
@benvanik benvanik removed this from Ideas in Compiler Development Mar 19, 2020
@benvanik benvanik removed this from the Dynamic Shapes milestone Mar 19, 2020
qedawkins pushed a commit to qedawkins/iree that referenced this issue Jan 23, 2023
qedawkins pushed a commit to qedawkins/iree that referenced this issue Jan 23, 2023
raikonenfnu pushed a commit to raikonenfnu/iree that referenced this issue Feb 1, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 8, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 8, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 8, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 8, 2023
qedawkins pushed a commit to qedawkins/iree that referenced this issue Feb 9, 2023
qedawkins pushed a commit to qedawkins/iree that referenced this issue Feb 14, 2023
qedawkins pushed a commit to qedawkins/iree that referenced this issue Feb 21, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 25, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 27, 2023
nithinsubbiah added a commit to nithinsubbiah/iree that referenced this issue Feb 27, 2023
qedawkins pushed a commit to qedawkins/iree that referenced this issue Feb 27, 2023
stellaraccident pushed a commit that referenced this issue Sep 24, 2023
Automatically created

Co-authored-by: OpenXLA Dep Roller <iree-github-actions-bot@google.com>
stellaraccident added a commit that referenced this issue Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ➕ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant