Browse Source

sc_hypervisor/examples/cholesky/cholesky_models.c: update for new API starpu_perfmodel_init

Nathalie Furmento 9 years ago
parent
commit
32d155333b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sc_hypervisor/examples/cholesky/cholesky_models.c

+ 2 - 2
sc_hypervisor/examples/cholesky/cholesky_models.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009, 2010-2011  Université de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013, 2014  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  CNRS
  * Copyright (C) 2011  Télécom-SudParis
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -136,7 +136,7 @@ void initialize_chol_model(struct starpu_perfmodel* model, char * symbol,
 	model->symbol = symbol;
 	model->type = STARPU_HISTORY_BASED;
 
-	starpu_perfmodel_init(NULL, model);
+	starpu_perfmodel_init(model);
 
 	per_arch = starpu_perfmodel_get_model_per_devices(model, 0, STARPU_CPU_WORKER, 0, 1, -1);
         per_arch->cost_function = cpu_cost_function;