File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,14 @@ void NetCostHandler::alloc_and_load_for_fast_vertical_cost_update_(float place_c
283283 acc_tile_num_inter_die_conn[0 ][y] = acc_tile_num_inter_die_conn[0 ][y-1 ] + \
284284 tile_num_inter_die_conn[0 ][y];
285285 }
286+
287+ for (size_t x_high = 1 ; x_high < device_ctx.grid .width (); x_high++) {
288+ for (size_t y_high = 1 ; y_high < device_ctx.grid .height (); y_high++) {
289+ acc_tile_num_inter_die_conn[x_high][y_high] = acc_tile_num_inter_die_conn[x_high-1 ][y_high] + \
290+ acc_tile_num_inter_die_conn[x_high][y_high-1 ] - \
291+ acc_tile_num_inter_die_conn[x_high][y_high];
292+ }
293+ }
286294
287295 for (size_t x_high = 1 ; x_high < device_ctx.grid .width (); x_high++) {
288296 for (size_t y_high = 1 ; y_high < device_ctx.grid .height (); y_high++) {
You can’t perform that action at this time.
0 commit comments