|
@@ -343,7 +343,8 @@ static void dump_reg_model(FILE *f, struct starpu_perfmodel *model, int comb, in
|
|
|
|
|
|
double a = nan(""), b = nan(""), c = nan("");
|
|
|
|
|
|
- if (model->type == STARPU_NL_REGRESSION_BASED) {
|
|
|
+ if (model->type == STARPU_NL_REGRESSION_BASED)
|
|
|
+ {
|
|
|
if (_starpu_regression_non_linear_power(per_arch_model->list, &a, &b, &c) != 0)
|
|
|
_STARPU_DISP("Warning: could not compute a non-linear regression for model %s\n", model->symbol);
|
|
|
}
|