Skip to content

Commit

Permalink
Bypassing a tile now preserves both distributed multicast stats
Browse files Browse the repository at this point in the history
and (new) replication factor.
  • Loading branch information
angshuman-parashar committed Sep 21, 2023
1 parent 36b791e commit ba2afa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/loop-analysis/tiling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,12 @@ void ProcessOuterMaskedLevels(std::vector<DataMovementInfo>& tile_nest, std::bit
// network stats (because distributed network traffic is transferred
// on behalf of the child level.
auto saved_distributed_stats = tile_nest[cur].distributed_access_stats;
auto saved_replication_factor = tile_nest[cur].replication_factor;

tile_nest[cur].Reset();

tile_nest[cur].distributed_access_stats = saved_distributed_stats;
tile_nest[cur].replication_factor = saved_replication_factor;
}
else
{
Expand Down

0 comments on commit ba2afa8

Please sign in to comment.