Skip to content

Conversation

rdspring1
Copy link
Collaborator

Fixes #1502

During convertRfactorToRootDomain, we need to propagate the replacement extents throughout the entire fusion. Currently, we only update the expressions that use the view TensorView.

@rdspring1 rdspring1 marked this pull request as ready for review March 2, 2022 23:24
@rdspring1 rdspring1 changed the title [WIP] Fix Issue 1502 Fix Issue 1502 Mar 2, 2022
@rdspring1 rdspring1 requested review from csarofeen and naoyam March 2, 2022 23:26
Comment on lines 285 to 289
void replaceValue(
Fusion* fusion,
const std::unordered_map<Val*, Val*>& replacement_map) {
ValReplacementMutator(fusion, replacement_map);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a generic function that's not specific to size replacement. Why not move this somewhere else? Perhaps, ir_utils?

@jjsjann123
Copy link
Collaborator

Update on this PR?! @rdspring1

Copy link
Collaborator

@naoyam naoyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the PR. LGTM.

@rdspring1 rdspring1 merged commit dd6d838 into devel Mar 22, 2022
@rdspring1 rdspring1 deleted the view_rfactor_symbol_fix branch March 22, 2022 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

codegen uses undefined identifier
4 participants