Skip to content

Commit da7f597

Browse files
committed
[DROP] revert AT to "bad" state
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent c6fcaaa commit da7f597

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _is_valid_padding(self, config):
172172
detail_padding = config["CELL_PAD_IN_SITES_DETAIL_PLACEMENT"]
173173
if global_padding < detail_padding:
174174
print(
175-
f"[WARN TUN-0032] CELL_PAD_IN_SITES_DETAIL_PLACEMENT ({detail_padding}) cannot be greater than CELL_PAD_IN_SITES_GLOBAL_PLACEMENT ({global_padding})"
175+
f"[WARN TUN-0032] CELL_PAD_IN_SITES_DETAIL_PLACEMENT cannot be greater than CELL_PAD_IN_SITES_GLOBAL_PLACEMENT: {detail_padding} {global_padding}"
176176
)
177177
return False
178178
return True
@@ -215,6 +215,9 @@ def percent(x_1, x_2):
215215
def evaluate(self, metrics):
216216
error = "ERR" in metrics.values() or "ERR" in reference.values()
217217
not_found = "N/A" in metrics.values() or "N/A" in reference.values()
218+
print("Metrics", metrics.values())
219+
print("Reference", reference.values())
220+
print(error, not_found)
218221
if error or not_found:
219222
return ERROR_METRIC
220223
ppa = self.get_ppa(metrics)
@@ -594,7 +597,6 @@ def sweep():
594597

595598

596599
def main():
597-
global args, SDC_ORIGINAL, FR_ORIGINAL, LOCAL_DIR, INSTALL_PATH, ORFS_FLOW_DIR, config_dict, reference, best_params
598600
args = parse_arguments()
599601

600602
# Read config and original files before handling where to run in case we

0 commit comments

Comments
 (0)