File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2971,14 +2971,14 @@ bool NesterovBase::checkDivergence()
29712971 }
29722972
29732973 // Check if both overflow and HPWL increase
2974- if (sum_overflow_unscaled_ < 0 .2f && prev_reported_overflow_unscaled_ > 0
2974+ if (minSumOverflow_ < 0 .2f && prev_reported_overflow_unscaled_ > 0
29752975 && prev_reported_hpwl_ > 0 ) {
29762976 float overflow_change
29772977 = sum_overflow_unscaled_ - prev_reported_overflow_unscaled_;
29782978 float hpwl_increase = (static_cast <float >(prev_hpwl_ - prev_reported_hpwl_))
29792979 / static_cast <float >(prev_reported_hpwl_);
29802980
2981- if (overflow_change >= 0 .02f && hpwl_increase >= 0 .1f ) {
2981+ if (overflow_change >= 0 .02f && hpwl_increase >= 0 .05f ) {
29822982 isDiverged_ = true ;
29832983 }
29842984 }
You can’t perform that action at this time.
0 commit comments