-
Notifications
You must be signed in to change notification settings - Fork 60
[WIP] Move edge ownership to SegmentedGroup using shared_ptr #4235
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
Conversation
Review updated until commit d1e7e6d Description
Changes walkthrough 📝
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
ec7c560
to
e50c295
Compare
!test |
!test |
This PR is fine, but using shared_ptr doesn't seem particularly beneficial. We likely don't need a smart pointer, but furthermore if we're going to change the infrastructure in the segmenter we should probably make SegmentedGroup an Expr and SegmentedEdge a Val to be compatible with the other infrastructure in nvFuser. |
Description:
Moves edge ownership from SegmentedFusion to SegmentedGroup using shared_ptr, allowing edges to be properly shared between groups. This eliminates redundant edge storage in SegmentedFusion and provides clearer ownership semantics.
Changes: