@@ -136,7 +136,7 @@ bool move_mol_to_existing_cluster(t_pack_molecule* molecule,
136
136
137
137
// Add the atom to the new cluster
138
138
t_lb_router_data* new_router_data = nullptr ;
139
- is_added = pack_mol_in_existing_cluster (molecule, molecule_size, new_clb, new_clb_atoms, during_packing, false , clustering_data, new_router_data);
139
+ is_added = pack_mol_in_existing_cluster (molecule, molecule_size, new_clb, new_clb_atoms, during_packing, clustering_data, new_router_data);
140
140
141
141
// Commit or revert the move
142
142
if (is_added) {
@@ -166,7 +166,7 @@ bool swap_two_molecules(t_pack_molecule* molecule_1,
166
166
int verbosity,
167
167
t_clustering_data& clustering_data) {
168
168
auto & cluster_ctx = g_vpr_ctx.mutable_clustering ();
169
-
169
+
170
170
// define local variables
171
171
PartitionRegion temp_cluster_pr_1, temp_cluster_pr_2;
172
172
@@ -216,10 +216,10 @@ bool swap_two_molecules(t_pack_molecule* molecule_1,
216
216
commit_mol_removal (molecule_2, molecule_2_size, clb_2, during_packing, old_2_router_data, clustering_data);
217
217
218
218
// Add the atom to the new cluster
219
- mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_2, clb_2_atoms, during_packing, true , clustering_data, old_2_router_data);
219
+ mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_2, clb_2_atoms, during_packing, clustering_data, old_2_router_data);
220
220
if (!mol_1_success) {
221
- mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, true , clustering_data, old_1_router_data);
222
- mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, true , clustering_data, old_2_router_data);
221
+ mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, clustering_data, old_1_router_data);
222
+ mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, clustering_data, old_2_router_data);
223
223
224
224
VTR_ASSERT (mol_1_success && mol_2_success);
225
225
free_router_data (old_1_router_data);
@@ -235,12 +235,12 @@ bool swap_two_molecules(t_pack_molecule* molecule_1,
235
235
return false ;
236
236
}
237
237
238
- mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_1, clb_1_atoms, during_packing, true , clustering_data, old_1_router_data);
238
+ mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_1, clb_1_atoms, during_packing, clustering_data, old_1_router_data);
239
239
if (!mol_2_success) {
240
240
remove_mol_from_cluster (molecule_1, molecule_1_size, clb_2, clb_2_atoms, true , old_2_router_data);
241
241
commit_mol_removal (molecule_1, molecule_1_size, clb_2, during_packing, old_2_router_data, clustering_data);
242
- mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, true , clustering_data, old_1_router_data);
243
- mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, true , clustering_data, old_2_router_data);
242
+ mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, clustering_data, old_1_router_data);
243
+ mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, clustering_data, old_2_router_data);
244
244
245
245
VTR_ASSERT (mol_1_success && mol_2_success);
246
246
free_router_data (old_1_router_data);
0 commit comments