You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #2999 adds a presegmentation pass to force segmentation when inplace update can cause RW race.
This occurs when an intermediate tensorview is aliased to a fusion input, a RW race occurs, when the intermediate tensorview or the aliased input is in path of a broadcast.
This preseg pass currently does not consider how the size of the broadcasted tv differs from aliased input/output, in which case segmentation may not be required.
<< "`t0` should have been in-place updated to the same value as `t6`.";
}
, the fusion is segmented such that the RW race does not occur. Additionally, the broadcasted size is not different from the aliased input/output. However, this preseg pass will still insert a segment set and split the fusion into 3 segments, even though 2 segments is functionally correct.
No, I need to investigate this issue and understand if any changes are required to the current implementation of the 'SegmentInplaceUpdate' preset pass.
PR #2999 adds a presegmentation pass to force segmentation when inplace update can cause RW race.
This occurs when an intermediate tensorview is aliased to a fusion input, a RW race occurs, when the intermediate tensorview or the aliased input is in path of a broadcast.
This preseg pass currently does not consider how the size of the broadcasted tv differs from aliased input/output, in which case segmentation may not be required.
Consider the test:
Fuser/tests/cpp/test_alias.cpp
Lines 980 to 1029 in 2ec2b92
This issue is to track how the preseg pass needs to be modified to identify such cases.
The text was updated successfully, but these errors were encountered: