-
Notifications
You must be signed in to change notification settings - Fork 79
Dynamic Resize of IterDomains #258
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
Merged
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
4ae4f09
First draft of handling Resize in DynamicTransformInfoBuilder
jacobhinkle 4d75a37
Concretize resizes, clone resize transforms
jacobhinkle a027f2b
Set resized IterDomains to symbolic if extent is non-constant
jacobhinkle 5de8af5
Set resized id to symbolic, broadcast, or iteration
jacobhinkle 8aa38e5
Return references for getRe{shape,size}Transforms()
jacobhinkle 840b5ee
Improve logic for determining concrete resize IterType
jacobhinkle f6ccdd9
Merge remote-tracking branch 'origin/main' into dynamic_resize
jacobhinkle acfd7ee
Add note about -1 issue with link
jacobhinkle c60a13d
Add dynamic pad shmoo test
jacobhinkle 45b60e6
Hold TensorDomain for resizes in order to replace in output rootdomain
jacobhinkle 1b84942
Fix issues in concretization of resize
jacobhinkle cdb0f27
Remove replaced vals after resize concretization
jacobhinkle 6dbdbb1
Add more cases to pad shmoo test
jacobhinkle c663ece
Re-use IterType computation in concretization
jacobhinkle 4efc74c
Add zero-element reduction test
jacobhinkle 81a6f10
Short-circuit outerReductionHeuristic on numel==0
jacobhinkle 4174a63
Short-circuit if numel of input is zero
jacobhinkle 37fc7ce
Also guard innerReductionHeuristic, update test
jacobhinkle 89b55cf
Merge branch 'main' into reduce_zero_elt
jacobhinkle 4e2c170
Add more test cases for zero-element reduction
jacobhinkle d7714ce
Merge branch 'main' into reduce_zero_elt
jacobhinkle 8bcc12c
Merge remote-tracking branch 'origin/main' into dynamic_resize
jacobhinkle 4726363
Merge remote-tracking branch 'jh/reduce_zero_elt' into dynamic_resize
jacobhinkle bf87c19
Move resizeOutputIterType to ir_utils
jacobhinkle 3371303
Use initializer-if in csrc/dynamic_transform.cpp
jacobhinkle d5f5213
Add iter_type option to resize(), other fixes
jacobhinkle 1febea7
Merge branch 'dynamic_resize' of github.com:jacobhinkle/Fuser into dy…
jacobhinkle dcdccb7
Merge branch 'main' into dynamic_resize
jacobhinkle 90260c7
Merge branch 'dynamic_resize' of github.com:jacobhinkle/Fuser into dy…
jacobhinkle 88bb239
Minor fixup for initializer-if
jacobhinkle fde271d
Remove stale TODO comment
jacobhinkle 2d98beb
Silence clang-tidy
jacobhinkle b43e70f
Merge remote-tracking branch 'origin/main' into dynamic_resize
jacobhinkle db5b8fc
Remove unguarded reduction stats printing
jacobhinkle 5db7cb4
Try harder for static IterDomain::resize
jacobhinkle a02fbb9
Fix skip resize ops in BestEffortReplay
naoyam 23f383b
Replace getInt with evaluateInt in IterDomain::resize()
jacobhinkle 6cd6932
Use concrete sizes in cat and slice tests.
jacobhinkle aec043d
Stop holding TensorView in resize_transforms_
jacobhinkle c76c2ee
Mutate all IterDomain expressions from root
jacobhinkle 678e0ec
Don't bail if no ID expr outputs are symbolic
jacobhinkle 6bd6f31
Merge remote-tracking branch 'origin/main' into dynamic_resize
jacobhinkle b6b085f
Update ID symbolic check
jacobhinkle 3826967
De-indent to clarify diff
jacobhinkle ab987b8
Do simple mutation if nothing propagates from producer
jacobhinkle eb3fca6
Change checks to better explain cases, expand comments
jacobhinkle 1e403e7
Merge branch 'main' into dynamic_resize
jacobhinkle 7a9a4d6
Merge remote-tracking branch 'origin/main' into dynamic_resize
jacobhinkle c9448ca
Disable all-or-nothing symbolic output check on exprs
jacobhinkle fe3a26f
Merge remote-tracking branch 'origin/main' into dynamic_resize
jacobhinkle e5aa9c8
Defer fusion->hasDynamicTransform() in FEC
jacobhinkle 5cf6971
Remove zero-element changes that leaked into this PR
jacobhinkle 8f4cc09
Remove early returns in concretize root->rfactor
jacobhinkle 15f0cd8
Concretize IterDomains in-place instead of building
jacobhinkle d40fcfe
Remove erroneous TODO comment in DynamicPadShmoo_CUDA
jacobhinkle 65656a6
Revert "Concretize IterDomains in-place instead of building"
jacobhinkle c86e048
Remove resizeOutputIterType
jacobhinkle 5885c80
Expand comment on resize(), explain iter_type arg
jacobhinkle dc2c28b
Point to #264 and #346 in DynamicPadShmoo test
jacobhinkle 00005e1
Merge branch 'main' into dynamic_resize
jacobhinkle 2581958
Minor clean up
jacobhinkle 88703fa
Merge branch 'main' into dynamic_resize
jacobhinkle 96f1876
Merge branch 'main' into dynamic_resize
jacobhinkle 152a0a8
Fix DynamicTransformConcretizationInfo::operator==
jacobhinkle 4f9b4ba
Remove rfactor&&broadcast check, uncomment failing test.
jacobhinkle e29c7f5
Merge branch 'dynamic_resize' of github.com:jacobhinkle/Fuser into dy…
jacobhinkle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.