|
@@ -136,8 +136,7 @@ static double common_task_expected_perf(struct starpu_perfmodel *model, struct s
|
|
|
|
|
|
static double starpu_mymodel_expected_perf(struct starpu_perfmodel *model, struct starpu_perfmodel_arch* arch, struct starpu_task *task, unsigned nimpl)
|
|
|
{
|
|
|
- printf("\nInside mymodel_expected_perf, before the ASSERT");
|
|
|
- //STARPU_ASSERT_MSG(model->cost_function, "STARPU_MYMODEL requires mymodel cost_function to be defined");
|
|
|
+ STARPU_ASSERT_MSG(model->cost_function, "STARPU_MYMODEL requires mymodel cost_function to be defined");
|
|
|
return model->cost_function(task, nimpl);
|
|
|
}
|
|
|
|
|
@@ -194,7 +193,6 @@ static double starpu_model_expected_perf(struct starpu_task *task, struct starpu
|
|
|
case STARPU_NL_REGRESSION_BASED:
|
|
|
return _starpu_non_linear_regression_based_job_expected_perf(model, arch, j,nimpl);
|
|
|
case STARPU_MYMODEL:
|
|
|
- printf("\nCall mymodel_expected function!");
|
|
|
return starpu_mymodel_expected_perf(model, arch, task, nimpl);
|
|
|
default:
|
|
|
STARPU_ABORT();
|