|
@@ -175,7 +175,8 @@ static int good_job(struct _starpu_job *j)
|
|
|
if (!j->task->cl->model)
|
|
|
return 0;
|
|
|
/* Only support history based */
|
|
|
- if (j->task->cl->model->type != STARPU_HISTORY_BASED)
|
|
|
+ if (j->task->cl->model->type != STARPU_HISTORY_BASED
|
|
|
+ && j->task->cl->model->type != STARPU_NL_REGRESSION_BASED)
|
|
|
return 0;
|
|
|
return 1;
|
|
|
}
|
|
@@ -433,7 +434,7 @@ void starpu_bound_print_lp(FILE *output)
|
|
|
nt = 0;
|
|
|
for (t1 = tasks; t1; t1 = t1->next)
|
|
|
{
|
|
|
- if (t1->cl->model->type != STARPU_HISTORY_BASED ||
|
|
|
+ if (t1->cl->model->type != STARPU_HISTORY_BASED &&
|
|
|
t1->cl->model->type != STARPU_NL_REGRESSION_BASED)
|
|
|
/* TODO: */
|
|
|
fprintf(stderr, "Warning: task %s uses a perf model which is neither history nor non-linear regression-based, support for such model is not implemented yet, system will not be solvable.\n", _starpu_get_cl_model_name(t1->cl));
|