File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/AutoTuner/src/autotuner Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ def evaluate(self, metrics):
175175 error = "ERR" in metrics .values ()
176176 not_found = "N/A" in metrics .values ()
177177 if error or not_found :
178- return (ERROR_METRIC , "-" , "-" , "-" )
178+ return (ERROR_METRIC , ERROR_METRIC , ERROR_METRIC , ERROR_METRIC )
179179 effective_clk_period = metrics ["clk_period" ] - metrics ["worst_slack" ]
180180 num_drc = metrics ["num_drc" ]
181181 gamma = effective_clk_period / 10
@@ -248,7 +248,7 @@ def evaluate(self, metrics):
248248 error = "ERR" in metrics .values () or "ERR" in reference .values ()
249249 not_found = "N/A" in metrics .values () or "N/A" in reference .values ()
250250 if error or not_found :
251- return (ERROR_METRIC , "-" , "-" , "-" )
251+ return (ERROR_METRIC , ERROR_METRIC , ERROR_METRIC , ERROR_METRIC )
252252 ppa = self .get_ppa (metrics )
253253 gamma = ppa / 10
254254 score = ppa * (self .step_ / 100 ) ** (- 1 ) + (gamma * metrics ["num_drc" ])
You can’t perform that action at this time.
0 commit comments