Repository navigation
[Stream] New ElideAsyncTransfersPass - #21029
Merged
Merged
Conversation
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: Thomas Ziereis <[email protected]>
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
ziereis
marked this pull request as draft
June 6, 2025 15:52
Contributor
Author
|
@benvanik i also just now noticed there is already a ElideAsyncTransfers pass that is run (disabled atm) in a different part in the pipeline. Should these two then get merged with an option flag for the cross device transfer (with topology) or should these be separate things? |
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
ziereis
marked this pull request as ready for review
June 23, 2025 14:18
benvanik
requested changes
Jun 24, 2025
benvanik
left a comment
Collaborator
There was a problem hiding this comment.
We have an existing ElideAsyncTransferPass that this should replace - it's not currently used because it had some bugs. You can delete the old one, the commented-out addPass in Passes.cpp, and replace it with this as the same name in the same place you add it in the pipeline. It did allow for lifetime changes but we could always make this do the same in the future if we wanted.
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
Signed-off-by: default <[email protected]>
Contributor
Author
|
Thank you for the review! |
benvanik
approved these changes
Jul 14, 2025
AWoloszyn
pushed a commit
that referenced
this pull request
Dec 1, 2025
Implementation for #20853. I also changed the getDevice() function here of the `DevicePromiseAttr` to return the the attribute of the same type as the `DeviceAffinityAttr` so they are comparable. --------- Signed-off-by: Thomas Ziereis <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
implementation for #20853.
I also changed the getDevice() function here of the
DevicePromiseAttrto return the the attribute of the same type as theDeviceAffinityAttrso they are comparable.