Une nouvelle version du portail de gestion des comptes externes sera mise en production lundi 09 août. Elle permettra d'allonger la validité d'un compte externe jusqu'à 3 ans. Pour plus de détails sur cette version consulter : https://doc-si.inria.fr/x/FCeS

Commit f4bf8f17 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

move init of starpu parameters in a single place (RUNTIME_init_scheduler) and...

move init of starpu parameters in a single place (RUNTIME_init_scheduler) and use dmdas default scheduling strategy
parent 7aeb7243
...@@ -38,15 +38,6 @@ void RUNTIME_context_create( MORSE_context_t *morse ) ...@@ -38,15 +38,6 @@ void RUNTIME_context_create( MORSE_context_t *morse )
conf = morse->schedopt; conf = morse->schedopt;
starpu_conf_init( conf ); starpu_conf_init( conf );
conf->nopencl = 0;
/* By default, use the dmda strategy */
if (!getenv("STARPU_SCHED"))
conf->sched_policy_name = "dmda";
/* By default, enable calibration */
if (!getenv("STARPU_CALIBRATE"))
conf->calibrate = 1;
return; return;
} }
......
...@@ -46,6 +46,15 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int nworkers, int ncudas, in ...@@ -46,6 +46,15 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int nworkers, int ncudas, in
conf->ncpus = nworkers; conf->ncpus = nworkers;
conf->ncuda = ncudas; conf->ncuda = ncudas;
conf->nopencl = 0;
/* By default, use the dmdas strategy */
if (!getenv("STARPU_SCHED"))
conf->sched_policy_name = "dmdas";
/* By default, enable calibration */
if (!getenv("STARPU_CALIBRATE"))
conf->calibrate = 1;
/* Set scheduling to "ws" if no cuda devices used because it behaves better /* Set scheduling to "ws" if no cuda devices used because it behaves better
* on homognenous architecture. If the user wants to use another * on homognenous architecture. If the user wants to use another
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment