Explorar el Código

set_priority already done in add_workers

Olivier Aumage hace 8 años
padre
commit
ce7a2c646e
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/core/sched_ctx.c

+ 0 - 1
src/core/sched_ctx.c

@@ -1165,7 +1165,6 @@ void starpu_sched_ctx_delete(unsigned sched_ctx_id)
 	   !(nworkers_ctx == nworkers && nworkers_ctx == inheritor_sched_ctx->workers->nworkers))
 	{
 		starpu_sched_ctx_add_workers(workerids, nworkers_ctx, inheritor_sched_ctx_id);
-		starpu_sched_ctx_set_priority(workerids, nworkers_ctx, inheritor_sched_ctx_id, 1);
 		starpu_sched_ctx_set_priority_on_level(workerids, nworkers_ctx, inheritor_sched_ctx_id, 1);
 	}