Browse Source

warn that non-history non-nl models are not supported by lower bound computation

Samuel Thibault 13 years ago
parent
commit
81eec191b3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/profiling/bound.c

+ 4 - 0
src/profiling/bound.c

@@ -433,6 +433,10 @@ void starpu_bound_print_lp(FILE *output)
 		nt = 0;
 		for (t1 = tasks; t1; t1 = t1->next)
 		{
+			if (t1->cl->model->type != STARPU_HISTORY_BASED ||
+			    t1->cl->model->type != STARPU_NL_REGRESSION_BASED)
+				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));
+
 			struct _starpu_job j =
 			{
 				.footprint = t1->footprint,